DbExpression.FromBoolean(Nullable<Boolean>) 方法

定義

建立 DbExpression 一個代表指定(可空)布林值的 值。

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

參數

value
Nullable<Boolean>

回傳表達式應依據的布林值。

傳回

代表 DbExpression 指定的布林值。

適用於