DbExpressionBuilder.And(DbExpression, DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
創造一個 DbAndExpression 執行左與右論證邏輯 And 的 。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbAndExpression ^ And(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbAndExpression And(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member And : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbAndExpression
<Extension()>
Public Function And (left As DbExpression, right As DbExpression) As DbAndExpression
參數
- left
- DbExpression
一個布林表達式,指定左參數。
- right
- DbExpression
一個布林運算式,用來指定正確的參數。
傳回
一個新的 DbAndExpression,包含指定的參數。
例外狀況
left 或 right 為空值。
left 且 right 沒有布林結果型態。