RelationalLoggerExtensions.QueryPossibleUnintendedUseOfEqualsWarning Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, MethodCallExpression)
Journaux de l’événement QueryPossibleUnintendedUseOfEqualsWarning .
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)
Paramètres
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Query>
Journal diagnostics à utiliser.
- methodCallExpression
- MethodCallExpression
Expression représentant l’appel de méthode problématique.
S’applique à
QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, SqlExpression, SqlExpression)
Journaux de l’événement QueryPossibleUnintendedUseOfEqualsWarning .
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)
Paramètres
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Query>
Journal diagnostics à utiliser.
- left
- SqlExpression
Expression SQL de gauche de equals.
- right
- SqlExpression
Expression SQL correcte de equals.