次の方法で共有


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 にはブール値の結果型が必要です。 通常、派生式の型では、現在の値の結果型と等しくないか昇格可能でない結果型を持つ式に Right を設定することはできません。

適用対象