Share via


DbExpression.FromBoolean(Nullable<Boolean>) Method

Definition

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

public static System.Data.Entity.Core.Common.CommandTrees.DbExpression FromBoolean (Nullable<bool> value);
static member FromBoolean : Nullable<bool> -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Shared Function FromBoolean (value As Nullable(Of Boolean)) As DbExpression

Parameters

value
Nullable<Boolean>

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

Returns

A DbExpression that represents the specified Boolean value.

Applies to