QuerySqlGeneratorDependencies Constructors
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
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. |
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.
public QuerySqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory parameterNameGeneratorFactory, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper);
new Microsoft.EntityFrameworkCore.Query.Sql.QuerySqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper -> Microsoft.EntityFrameworkCore.Query.Sql.QuerySqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, parameterNameGeneratorFactory As IParameterNameGeneratorFactory, relationalTypeMapper As IRelationalTypeMapper)
Parameters
- commandBuilderFactory
- IRelationalCommandBuilderFactory
The command builder factory.
- sqlGenerationHelper
- ISqlGenerationHelper
The SQL generation helper.
- parameterNameGeneratorFactory
- IParameterNameGeneratorFactory
The parameter name generator factory.
- relationalTypeMapper
- IRelationalTypeMapper
The relational type mapper.
Applies to
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.
public QuerySqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory parameterNameGeneratorFactory, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
new Microsoft.EntityFrameworkCore.Query.Sql.QuerySqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.Sql.QuerySqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, parameterNameGeneratorFactory As IParameterNameGeneratorFactory, relationalTypeMapper As IRelationalTypeMapper, typeMappingSource As IRelationalTypeMappingSource, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query))
Parameters
- commandBuilderFactory
- IRelationalCommandBuilderFactory
The command builder factory.
- sqlGenerationHelper
- ISqlGenerationHelper
The SQL generation helper.
- parameterNameGeneratorFactory
- IParameterNameGeneratorFactory
The parameter name generator factory.
- relationalTypeMapper
- IRelationalTypeMapper
The relational type mapper.
- typeMappingSource
- IRelationalTypeMappingSource
The type mapper.
The logger.
Applies to
Entity Framework