SqlNullabilityProcessor.VisitSqlBinary 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.
Visits a SqlBinaryExpression and computes its nullability.
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression VisitSqlBinary (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression sqlBinaryExpression, bool allowOptimizedExpansion, out bool nullable);
abstract member VisitSqlBinary : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.VisitSqlBinary : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function VisitSqlBinary (sqlBinaryExpression As SqlBinaryExpression, allowOptimizedExpansion As Boolean, ByRef nullable As Boolean) As SqlExpression
Parameters
- sqlBinaryExpression
- SqlBinaryExpression
A sql binary expression to visit.
- allowOptimizedExpansion
- Boolean
A bool value indicating if optimized expansion which considers null value as false value is allowed.
- nullable
- Boolean
A bool value indicating whether the sql expression is nullable.
Returns
An optimized sql expression.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework