ProjectionExpression Sınıf

Tanım

İçindeki projeksiyonu temsil eden bir ifade SelectExpression .

Bu bir ve diğer ad etrafında basit bir sarmalayıcıdır SqlExpression . Bu türün örnekleri uygulama veya veritabanı sağlayıcısı kodu tarafından oluşturulamıyor. Bu, uygulamanız veya sağlayıcılarınız için bir sorun olursa lütfen bir sorun bildirin https://github.com/dotnet/efcore .

public class ProjectionExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
public sealed class ProjectionExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type ProjectionExpression = class
    inherit Expression
    interface IPrintableExpression
Public Class ProjectionExpression
Inherits Expression
Implements IPrintableExpression
Public NotInheritable Class ProjectionExpression
Inherits Expression
Implements IPrintableExpression
Devralma
ProjectionExpression
Uygulamalar

Oluşturucular

ProjectionExpression(SqlExpression, String)

Özellikler

Alias

Varsa, bu projeksiye atanan diğer ad.

Expression

yansıtılmakta olan SQL değeri.

NodeType

Gets the node type of this Expression.

Type

Gets the static type of the expression that this Expression represents.

Yöntemler

Equals(Object)
GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)
Update(SqlExpression)

Bunun gibi, ancak sağlanan alt öğeleri kullanarak yeni bir ifade oluşturur. Tüm alt öğeler aynıysa, bu ifade döndürülür.

VisitChildren(ExpressionVisitor)

Belirtik Arabirim Kullanımları

IPrintableExpression.Print(ExpressionPrinter)

Kullanılarak verilen ifadenin yazdırılabilir bir dize temsilini oluşturur ExpressionPrinter .

Şunlara uygulanır