共用方式為


EntityProjectionExpression.DiscriminatorExpression 屬性

定義

SqlExpression 用於產生實體類型的辨別子。

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

屬性值

適用於