Редагувати

Поділитися через


DbExpression.FromBoolean(Nullable<Boolean>) Method

Definition

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

public:
 static System::Data::Common::CommandTrees::DbExpression ^ FromBoolean(Nullable<bool> value);
public static System.Data.Common.CommandTrees.DbExpression FromBoolean (bool? value);
static member FromBoolean : Nullable<bool> -> System.Data.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