QuerySqlGeneratorFactoryBase QuerySqlGeneratorFactoryBase Class

A base class for query SQL generators.

Syntax

Declaration

public abstract class QuerySqlGeneratorFactoryBase : IQuerySqlGeneratorFactoryPublic MustInherit Class QuerySqlGeneratorFactoryBase
    Implements IQuerySqlGeneratorFactory

Inheritance Hierarchy

  • System.Object
    System.Object
  • QuerySqlGeneratorFactoryBase
    QuerySqlGeneratorFactoryBase

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Specialised constructor for use only by derived class.

Properties summary

Gets the command builder factory.

Gets the parameter name generator factory.

Gets the relational type mapper.

Gets the SQL generation helper.

Methods summary

Creates a default query SQL generator.

Creates a query SQL generator for a FromSql query.

Constructors

  • QuerySqlGeneratorFactoryBase(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IParameterNameGeneratorFactory, IRelationalTypeMapper)
    QuerySqlGeneratorFactoryBase(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IParameterNameGeneratorFactory, IRelationalTypeMapper)

    Specialised constructor for use only by derived class.

    protected QuerySqlGeneratorFactoryBase(IRelationalCommandBuilderFactory commandBuilderFactory, ISqlGenerationHelper sqlGenerationHelper, IParameterNameGeneratorFactory parameterNameGeneratorFactory, IRelationalTypeMapper relationalTypeMapper)Protected Sub New(commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, parameterNameGeneratorFactory As IParameterNameGeneratorFactory, relationalTypeMapper As IRelationalTypeMapper)

    Parameters

Properties

  • CommandBuilderFactory
    CommandBuilderFactory

    Gets the command builder factory.

    protected virtual IRelationalCommandBuilderFactory CommandBuilderFactory { get; }Protected Overridable ReadOnly Property CommandBuilderFactory As IRelationalCommandBuilderFactory

    Property Value

  • ParameterNameGeneratorFactory
    ParameterNameGeneratorFactory

    Gets the parameter name generator factory.

    protected virtual IParameterNameGeneratorFactory ParameterNameGeneratorFactory { get; }Protected Overridable ReadOnly Property ParameterNameGeneratorFactory As IParameterNameGeneratorFactory

    Property Value

  • RelationalTypeMapper
    RelationalTypeMapper

    Gets the relational type mapper.

    protected virtual IRelationalTypeMapper RelationalTypeMapper { get; }Protected Overridable ReadOnly Property RelationalTypeMapper As IRelationalTypeMapper

    Property Value

  • SqlGenerationHelper
    SqlGenerationHelper

    Gets the SQL generation helper.

    protected virtual ISqlGenerationHelper SqlGenerationHelper { get; }Protected Overridable ReadOnly Property SqlGenerationHelper As ISqlGenerationHelper

    Property Value

Methods

  • CreateDefault(SelectExpression)
    CreateDefault(SelectExpression)

    Creates a default query SQL generator.

    public abstract IQuerySqlGenerator CreateDefault(SelectExpression selectExpression)Public MustOverride Function CreateDefault(selectExpression As SelectExpression) As IQuerySqlGenerator

    Parameters

    Returns

  • CreateFromSql(SelectExpression, String, Expression)
    CreateFromSql(SelectExpression, String, Expression)

    Creates a query SQL generator for a FromSql query.

    public virtual IQuerySqlGenerator CreateFromSql(SelectExpression selectExpression, string sql, Expression arguments)Public Overridable Function CreateFromSql(selectExpression As SelectExpression, sql As String, arguments As Expression) As IQuerySqlGenerator

    Parameters

    • selectExpression

      The select expression.

    • sql
      System.String
      System.String

      The SQL.

    • arguments
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The arguments.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll