SqlServerQuerySqlGenerator SqlServerQuerySqlGenerator Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class SqlServerQuerySqlGenerator : DefaultQuerySqlGenerator, ISqlExpressionVisitor, IQuerySqlGenerator, ISqlServerExpressionVisitor
Public Class SqlServerQuerySqlGenerator
    Inherits DefaultQuerySqlGenerator
    Implements ISqlExpressionVisitor, IQuerySqlGenerator, ISqlServerExpressionVisitor
Inheritance
System.ObjectSystem.Object
SqlServerQuerySqlGeneratorSqlServerQuerySqlGenerator
Implements

Constructors

SqlServerQuerySqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IParameterNameGeneratorFactory, IRelationalTypeMapper, SelectExpression) SqlServerQuerySqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IParameterNameGeneratorFactory, IRelationalTypeMapper, SelectExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods

Microsoft.EntityFrameworkCore.Query.Sql.DefaultQuerySqlGenerator.CreateUnhandledItemException<T>(T, System.String) Microsoft.EntityFrameworkCore.Query.Sql.DefaultQuerySqlGenerator.CreateUnhandledItemException<T>(T, System.String) Inherited from DefaultQuerySqlGenerator
CreateValueBufferFactory(IRelationalValueBufferFactoryFactory, DbDataReader) CreateValueBufferFactory(IRelationalValueBufferFactoryFactory, DbDataReader)

Creates a relational value buffer factory.

(Inherited from DefaultQuerySqlGenerator)
ExtractNonNullExpressionValues(IReadOnlyList<Expression>) ExtractNonNullExpressionValues(IReadOnlyList(Of Expression))

Extracts the non null expression values from a list of expressions.

(Inherited from DefaultQuerySqlGenerator)
GenerateBinaryOperator(ExpressionType) GenerateBinaryOperator(ExpressionType)

Generates SQL for a given binary operation type.

(Inherited from DefaultQuerySqlGenerator)
GenerateFromSql(String, Expression, IReadOnlyDictionary<String, Object>) GenerateFromSql(String, Expression, IReadOnlyDictionary(Of String, Object))

Generate SQL corresponding to a FromSql query.

(Inherited from DefaultQuerySqlGenerator)
GenerateLimitOffset(SelectExpression) GenerateLimitOffset(SelectExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

GenerateOperator(Expression) GenerateOperator(Expression)

Generates an SQL operator for a given expression.

(Inherited from DefaultQuerySqlGenerator)
GenerateOrderBy(IReadOnlyList<Ordering>) GenerateOrderBy(IReadOnlyList(Of Ordering))

Generates the ORDER BY SQL.

(Inherited from DefaultQuerySqlGenerator)
GenerateSql(IReadOnlyDictionary<String, Object>) GenerateSql(IReadOnlyDictionary(Of String, Object))

Generates SQL for the given parameter values.

(Inherited from DefaultQuerySqlGenerator)
GenerateTop(SelectExpression) GenerateTop(SelectExpression)

Generates the TOP part of the SELECT statement,

(Inherited from DefaultQuerySqlGenerator)
InferTypeMappingFromColumn(Expression) InferTypeMappingFromColumn(Expression)

Infers a type mapping from a column expression.

(Inherited from DefaultQuerySqlGenerator)
ProcessInExpressionValues(IEnumerable<Expression>) ProcessInExpressionValues(IEnumerable(Of Expression))

Process the InExpression values.

(Inherited from DefaultQuerySqlGenerator)
TryGenerateBinaryOperator(ExpressionType, String) TryGenerateBinaryOperator(ExpressionType, String)

Attempts to generate binary operator for a given expression type.

(Inherited from DefaultQuerySqlGenerator)
VisitAlias(AliasExpression) VisitAlias(AliasExpression)

Visits an AliasExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitBinary(BinaryExpression) VisitBinary(BinaryExpression)

Visit a BinaryExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitColumn(ColumnExpression) VisitColumn(ColumnExpression)

Visits a ColumnExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitConditional(ConditionalExpression) VisitConditional(ConditionalExpression)

Visit a ConditionalExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitConstant(ConstantExpression) VisitConstant(ConstantExpression)

Visits a ConstantExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitCount(CountExpression) VisitCount(CountExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

VisitCrossJoin(CrossJoinExpression) VisitCrossJoin(CrossJoinExpression)

Visit a CrossJoin expression.

(Inherited from DefaultQuerySqlGenerator)
VisitDatePartExpression(DatePartExpression) VisitDatePartExpression(DatePartExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

VisitExists(ExistsExpression) VisitExists(ExistsExpression)

Visit an ExistsExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitExplicitCast(ExplicitCastExpression) VisitExplicitCast(ExplicitCastExpression)

Visit a SQL ExplicitCastExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitFromSql(FromSqlExpression) VisitFromSql(FromSqlExpression)

Visit a FromSqlExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitIn(InExpression) VisitIn(InExpression)

Visit an InExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitInnerJoin(InnerJoinExpression) VisitInnerJoin(InnerJoinExpression)

Visit an InnerJoinExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitIsNotNull(IsNullExpression) VisitIsNotNull(IsNullExpression)

Visits an IsNotNullExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitIsNull(IsNullExpression) VisitIsNull(IsNullExpression)

Visits an IsNullExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitLateralJoin(LateralJoinExpression) VisitLateralJoin(LateralJoinExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

VisitLeftOuterJoin(LeftOuterJoinExpression) VisitLeftOuterJoin(LeftOuterJoinExpression)

Visit an LeftOuterJoinExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitLike(LikeExpression) VisitLike(LikeExpression)

Visit a LikeExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitMax(MaxExpression) VisitMax(MaxExpression)

Visit a MaxExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitMin(MinExpression) VisitMin(MinExpression)

Visit a MinExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitNotIn(InExpression) VisitNotIn(InExpression)

Visit a negated InExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitParameter(ParameterExpression) VisitParameter(ParameterExpression)

Visits a ParameterExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitProjection(IReadOnlyList<Expression>) VisitProjection(IReadOnlyList(Of Expression))

Visit the projection.

(Inherited from DefaultQuerySqlGenerator)
VisitPropertyParameter(PropertyParameterExpression) VisitPropertyParameter(PropertyParameterExpression)

Visits a PropertyParameterExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitRowNumber(RowNumberExpression) VisitRowNumber(RowNumberExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

VisitSelect(SelectExpression) VisitSelect(SelectExpression)

Visit a top-level SelectExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitSqlFunction(SqlFunctionExpression) VisitSqlFunction(SqlFunctionExpression)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

VisitStringCompare(StringCompareExpression) VisitStringCompare(StringCompareExpression)

Visit a StringCompareExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitSum(SumExpression) VisitSum(SumExpression)

Visit a SumExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitTable(TableExpression) VisitTable(TableExpression)

Visit a TableExpression.

(Inherited from DefaultQuerySqlGenerator)
VisitUnary(UnaryExpression) VisitUnary(UnaryExpression)

Visits a UnaryExpression.

(Inherited from DefaultQuerySqlGenerator)

Properties

ConcatOperator ConcatOperator

The default string concatenation operator SQL.

(Inherited from DefaultQuerySqlGenerator)
IsCacheable IsCacheable

Gets or sets a value indicating whether this SQL query is cacheable.

(Inherited from DefaultQuerySqlGenerator)
ParameterValues ParameterValues

Gets the parameter values.

(Inherited from DefaultQuerySqlGenerator)
SelectExpression SelectExpression

Gets the select expression.

(Inherited from DefaultQuerySqlGenerator)
Sql Sql

The generated SQL.

(Inherited from DefaultQuerySqlGenerator)
SqlGenerator SqlGenerator

Gets the SQL generation helper.

(Inherited from DefaultQuerySqlGenerator)
TypedFalseLiteral TypedFalseLiteral

The default false literal SQL.

(Inherited from DefaultQuerySqlGenerator)
TypedTrueLiteral TypedTrueLiteral

The default true literal SQL.

(Inherited from DefaultQuerySqlGenerator)