共用方式為


DbBinaryExpression.Left 屬性

定義

得到或設定 , DbExpression 定義了左論點。

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Left { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Left { get; }
member this.Left : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Left As DbExpression

屬性值

DbExpression 定義了左派的論點。

例外狀況

表達式為 null

該表達式與 的指令樹 DbBinaryExpression無關聯,

或其結果型別不等於或無法升變於左參數所需的型別。

備註

當屬性被設定時,導出表達式類型可能會執行更嚴格的類型檢查 Left 。 例如,要求 DbUnionAllExpression 其左表達式具有集合結果型態,而 DbAndExpression 需要布林結果型態。 通常,導出表達式類型不允許 Left 設定為與當前值結果類型不相等或不可升調的表達式。

適用於