RelationalLoggerExtensions.QueryPossibleUnintendedUseOfEqualsWarning Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, MethodCallExpression)
Logs for the QueryPossibleUnintendedUseOfEqualsWarning event.
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)
Parameters
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Query>
The diagnostics logger to use.
- methodCallExpression
- MethodCallExpression
The expression representing the problematic method call.
Applies to
QueryPossibleUnintendedUseOfEqualsWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, SqlExpression, SqlExpression)
Logs for the QueryPossibleUnintendedUseOfEqualsWarning event.
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)
Parameters
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Query>
The diagnostics logger to use.
- left
- SqlExpression
The left SQL expression of the Equals.
- right
- SqlExpression
The right SQL expression of the Equals.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for