共用方式為


DbBinaryExpression.Right 屬性

定義

取得或設定定義右引數的 DbExpression

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

屬性值

定義右引數的 DbExpression

例外狀況

此運算式為 null

運算式未與 DbBinaryExpression 的命令樹相關聯,

或其結果型別不等於或可提升為右引數所需的型別。

備註

有設定 Right 屬性時,衍生的運算式型別可能會執行更嚴格的型別檢查。 例如,DbUnionAllExpression 會要求其右運算式具有集合結果型別,而 DbAndExpression 會要求 Boolean 結果型別。 一般而言,衍生的運算式型別不允許 Right 設定為結果型別不等於或可提升為目前值之結果型別的運算式。

適用於