Aracılığıyla paylaş


RelationalLoggerExtensions.QueryPossibleUnintendedUseOfEqualsWarning Yöntem

Tanım

Aşırı Yüklemeler

QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, MethodCallExpression)

Olay için QueryPossibleUnintendedUseOfEqualsWarning günlükler.

QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, SqlExpression, SqlExpression)

Olay için QueryPossibleUnintendedUseOfEqualsWarning günlükler.

QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, MethodCallExpression)

public static void QueryPossibleUnintendedUseOfEqualsWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, System.Linq.Expressions.MethodCallExpression methodCallExpression);
static member QueryPossibleUnintendedUseOfEqualsWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * System.Linq.Expressions.MethodCallExpression -> unit
<Extension()>
Public Sub QueryPossibleUnintendedUseOfEqualsWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), methodCallExpression As MethodCallExpression)

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Kullanılacak tanılama günlükçü.

methodCallExpression
MethodCallExpression

Sorunlu yöntem çağrısını temsil eden ifade.

Şunlara uygulanır

QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, SqlExpression, SqlExpression)

public static void QueryPossibleUnintendedUseOfEqualsWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> diagnostics, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
static member QueryPossibleUnintendedUseOfEqualsWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> unit
<Extension()>
Public Sub QueryPossibleUnintendedUseOfEqualsWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Query), left As SqlExpression, right As SqlExpression)

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

Kullanılacak tanılama günlükçü.

left
SqlExpression

Eşittir'in sol SQL ifadesi.

right
SqlExpression

Eşittir'in doğru SQL ifadesi.

Şunlara uygulanır