DbExpression.FromBoolean Method (Nullable<Boolean>)

 

Creates a DbExpression that represents the specified (nullable) Boolean value.

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbExpression FromBoolean(
	Nullable<bool> value
)

Parameters

value
Type: System.Nullable<Boolean>

The Boolean value on which the returned expression should be based.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

A DbExpression that represents the specified Boolean value.