QuerySqlGeneratorDependencies Class

Definition

Service dependencies parameter class for QuerySqlGeneratorFactoryBase

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

public sealed class QuerySqlGeneratorDependencies
type QuerySqlGeneratorDependencies = class
Public NotInheritable Class QuerySqlGeneratorDependencies
Inheritance
QuerySqlGeneratorDependencies

Constructors

QuerySqlGeneratorDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IParameterNameGeneratorFactory, IRelationalTypeMapper)

Creates the service dependencies parameter object for a QuerySqlGeneratorFactoryBase.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

QuerySqlGeneratorDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IParameterNameGeneratorFactory, IRelationalTypeMapper, IRelationalTypeMappingSource, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QuerySqlGeneratorFactoryBase.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

Properties

CommandBuilderFactory

Gets the command builder factory.

Logger

The logger.

ParameterNameGeneratorFactory

Gets the parameter name generator factory.

RelationalTypeMapper
Obsolete.

The relational type mapper.

SqlGenerationHelper

Gets the SQL generation helper.

TypeMappingSource

The type mapping source.

Methods

With(IDiagnosticsLogger<DbLoggerCategory.Query>)

Clones this dependency parameter object with one service replaced.

With(IParameterNameGeneratorFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalCommandBuilderFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMapper)
Obsolete.

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

With(ISqlGenerationHelper)

Clones this dependency parameter object with one service replaced.

Applies to