Szerkesztés

Megosztás a következőn keresztül:


DbBinaryExpression.Right Property

Definition

Gets or sets the DbExpression that defines the right argument.

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

Property Value

The DbExpression that defines the right argument.

Exceptions

The expression is null.

The expression is not associated with the command tree of the DbBinaryExpression,

or its result type is not equal or promotable to the required type for the right argument.

Remarks

Derived expression types might perform stricter type checks when the Right property is set. For example, DbUnionAllExpression requires that its right expression has a collection result type, while DbAndExpression requires a Boolean result type. Typically, derived expression types will not allow Right to be set to an expression with a result type that is not equal or promotable to the result type of the current value.

Applies to