Compartilhar via


RelationalLoggerExtensions.QueryPossibleUnintendedUseOfEqualsWarning Método

Definição

Sobrecargas

QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, MethodCallExpression)

Logs do QueryPossibleUnintendedUseOfEqualsWarning evento.

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

Logs do QueryPossibleUnintendedUseOfEqualsWarning evento.

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)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

O agente diagnóstico a ser usado.

methodCallExpression
MethodCallExpression

A expressão que representa a chamada de método problemática.

Aplica-se a

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)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Query>

O agente diagnóstico a ser usado.

left
SqlExpression

A expressão SQL à esquerda de Equals.

right
SqlExpression

A expressão SQL direita de Equals.

Aplica-se a