共用方式為


CaseExpression.ElseResult 屬性

定義

如果未符合任何相符專案, WhenClauses 則傳回的值。

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression ElseResult { get; }
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? ElseResult { get; }
member this.ElseResult : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable ReadOnly Property ElseResult As SqlExpression

屬性值

適用於