Udostępnij za pośrednictwem


RelationalMemberTranslatorProvider.Translate Metoda

Definicja

Przeciążenia

Translate(SqlExpression, MemberInfo, Type)
Translate(SqlExpression, MemberInfo, Type, IDiagnosticsLogger<DbLoggerCategory.Query>)

Tłumaczy LINQ MemberExpression na odpowiednik SQL.

Translate(SqlExpression, MemberInfo, Type)

Źródło:
RelationalMemberTranslatorProvider.cs
Źródło:
RelationalMemberTranslatorProvider.cs
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, System.Reflection.MemberInfo member, Type returnType);
abstract member Translate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Reflection.MemberInfo * Type -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.Translate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Reflection.MemberInfo * Type -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function Translate (instance As SqlExpression, member As MemberInfo, returnType As Type) As SqlExpression

Parametry

instance
SqlExpression
member
MemberInfo
returnType
Type

Zwraca

Implementuje

Dotyczy

Translate(SqlExpression, MemberInfo, Type, IDiagnosticsLogger<DbLoggerCategory.Query>)

Źródło:
RelationalMemberTranslatorProvider.cs
Źródło:
RelationalMemberTranslatorProvider.cs
Źródło:
RelationalMemberTranslatorProvider.cs
Źródło:
RelationalMemberTranslatorProvider.cs
Źródło:
RelationalMemberTranslatorProvider.cs

Tłumaczy LINQ MemberExpression na odpowiednik SQL.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, System.Reflection.MemberInfo member, Type returnType, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? Translate (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? instance, System.Reflection.MemberInfo member, Type returnType, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
abstract member Translate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Reflection.MemberInfo * Type * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.Translate : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Reflection.MemberInfo * Type * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function Translate (instance As SqlExpression, member As MemberInfo, returnType As Type, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)) As SqlExpression

Parametry

instance
SqlExpression

Reprezentacja języka SQL dla elementu Expression.

member
MemberInfo

Informacje o elemencie członkowskim z witryny Member.

returnType
Type

Zwracany typ z Type.

logger
IDiagnosticsLogger<DbLoggerCategory.Query>

Rejestrator zapytań do użycia.

Zwraca

Translacja SQL elementu MemberExpression.

Implementuje

Dotyczy