Share via


DbCaseExpression.Else Property

Definition

Gets the Else clause of this DbCaseExpression.

public System.Data.Entity.Core.Common.CommandTrees.DbExpression Else { get; }
member this.Else : System.Data.Entity.Core.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