Rediger

Del via


DbCaseExpression.Else Property

Definition

Gets or sets the Else clause of this DbCaseExpression.

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

Property Value

The Else clause of this DbCaseExpression.

Exceptions

The expression is null.

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

or its result type is not equal or promotable to the result type of the DbCaseExpression.

Applies to