HistoryRepositoryDependencies 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
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper) |
Creates the service dependencies parameter object for a HistoryRepository. 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. 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. |
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, ICoreConventionSetBuilder, IEnumerable<IConventionSetBuilder>, IRelationalTypeMappingSource) |
Creates the service dependencies parameter object for a HistoryRepository. 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. 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. |
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, IRelationalTypeMappingSource, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Database.Command>) |
Creates the service dependencies parameter object for a HistoryRepository. 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. This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, ModelDependencies, IRelationalTypeMappingSource, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Database.Command>) |
Creates the service dependencies parameter object for a HistoryRepository. 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. This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, ModelDependencies, IRelationalTypeMappingSource, ICurrentDbContext, IModelRuntimeInitializer, IRelationalCommandDiagnosticsLogger) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, ModelDependencies, IRelationalTypeMappingSource, ICurrentDbContext, IModelRuntimeInitializer, IDiagnosticsLogger<DbLoggerCategory.Model>, IRelationalCommandDiagnosticsLogger) |
Creates the service dependencies parameter object for a HistoryRepository. 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. This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper)
Creates the service dependencies parameter object for a HistoryRepository.
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.
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 HistoryRepositoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator, Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
new Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator * Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Sub New (databaseCreator As IRelationalDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As IRelationalConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper)
Parameters
- databaseCreator
- IRelationalDatabaseCreator
The database creator.
- rawSqlCommandBuilder
- IRawSqlCommandBuilder
A command builder for building raw SQL commands.
- connection
- IRelationalConnection
The connection to the database.
- options
- IDbContextOptions
Options for the current context instance.
- modelDiffer
- IMigrationsModelDiffer
The model differ.
- migrationsSqlGenerator
- IMigrationsSqlGenerator
The SQL generator for Migrations operations.
- sqlGenerationHelper
- ISqlGenerationHelper
Helpers for generating update SQL.
Applies to
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, ICoreConventionSetBuilder, IEnumerable<IConventionSetBuilder>, IRelationalTypeMappingSource)
Creates the service dependencies parameter object for a HistoryRepository.
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.
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 HistoryRepositoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator, Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder coreConventionSetBuilder, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder> conventionSetBuilders, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
new Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator * Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder * seq<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder> * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Sub New (databaseCreator As IRelationalDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As IRelationalConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, coreConventionSetBuilder As ICoreConventionSetBuilder, conventionSetBuilders As IEnumerable(Of IConventionSetBuilder), typeMappingSource As IRelationalTypeMappingSource)
Parameters
- databaseCreator
- IRelationalDatabaseCreator
The database creator.
- rawSqlCommandBuilder
- IRawSqlCommandBuilder
A command builder for building raw SQL commands.
- connection
- IRelationalConnection
The connection to the database.
- options
- IDbContextOptions
Options for the current context instance.
- modelDiffer
- IMigrationsModelDiffer
The model differ.
- migrationsSqlGenerator
- IMigrationsSqlGenerator
The SQL generator for Migrations operations.
- sqlGenerationHelper
- ISqlGenerationHelper
Helpers for generating update SQL.
- coreConventionSetBuilder
- Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder
The core convention set to use when creating the model.
- conventionSetBuilders
- IEnumerable<Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder>
The convention sets to use when creating the model.
- typeMappingSource
- IRelationalTypeMappingSource
The type mapper.
Applies to
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, IRelationalTypeMappingSource, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
Creates the service dependencies parameter object for a HistoryRepository.
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.
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public HistoryRepositoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator, Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> commandLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator * Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Sub New (databaseCreator As IRelationalDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As IRelationalConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, conventionSetBuilder As IConventionSetBuilder, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, modelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model), commandLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))
Parameters
- databaseCreator
- IRelationalDatabaseCreator
- rawSqlCommandBuilder
- IRawSqlCommandBuilder
- connection
- IRelationalConnection
- options
- IDbContextOptions
- modelDiffer
- IMigrationsModelDiffer
- migrationsSqlGenerator
- IMigrationsSqlGenerator
- sqlGenerationHelper
- ISqlGenerationHelper
- conventionSetBuilder
- IConventionSetBuilder
- typeMappingSource
- IRelationalTypeMappingSource
- currentContext
- ICurrentDbContext
- modelLogger
- IDiagnosticsLogger<DbLoggerCategory.Model>
- commandLogger
- IDiagnosticsLogger<DbLoggerCategory.Database.Command>
- Attributes
Applies to
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, ModelDependencies, IRelationalTypeMappingSource, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Model>, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
Creates the service dependencies parameter object for a HistoryRepository.
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.
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public HistoryRepositoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator, Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder, Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies modelDependencies, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> commandLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator * Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder * Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Sub New (databaseCreator As IRelationalDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As IRelationalConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, conventionSetBuilder As IConventionSetBuilder, modelDependencies As ModelDependencies, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, modelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model), commandLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))
Parameters
- databaseCreator
- IRelationalDatabaseCreator
- rawSqlCommandBuilder
- IRawSqlCommandBuilder
- connection
- IRelationalConnection
- options
- IDbContextOptions
- modelDiffer
- IMigrationsModelDiffer
- migrationsSqlGenerator
- IMigrationsSqlGenerator
- sqlGenerationHelper
- ISqlGenerationHelper
- conventionSetBuilder
- IConventionSetBuilder
- modelDependencies
- ModelDependencies
- typeMappingSource
- IRelationalTypeMappingSource
- currentContext
- ICurrentDbContext
- modelLogger
- IDiagnosticsLogger<DbLoggerCategory.Model>
- commandLogger
- IDiagnosticsLogger<DbLoggerCategory.Database.Command>
- Attributes
Applies to
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, ModelDependencies, IRelationalTypeMappingSource, ICurrentDbContext, IModelRuntimeInitializer, IRelationalCommandDiagnosticsLogger)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public HistoryRepositoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator, Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder, Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies modelDependencies, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer modelRuntimeInitializer, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger commandLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator * Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder * Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Sub New (databaseCreator As IRelationalDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As IRelationalConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, conventionSetBuilder As IConventionSetBuilder, modelDependencies As ModelDependencies, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, modelRuntimeInitializer As IModelRuntimeInitializer, commandLogger As IRelationalCommandDiagnosticsLogger)
Parameters
- databaseCreator
- IRelationalDatabaseCreator
- rawSqlCommandBuilder
- IRawSqlCommandBuilder
- connection
- IRelationalConnection
- options
- IDbContextOptions
- modelDiffer
- IMigrationsModelDiffer
- migrationsSqlGenerator
- IMigrationsSqlGenerator
- sqlGenerationHelper
- ISqlGenerationHelper
- conventionSetBuilder
- IConventionSetBuilder
- modelDependencies
- ModelDependencies
- typeMappingSource
- IRelationalTypeMappingSource
- currentContext
- ICurrentDbContext
- modelRuntimeInitializer
- IModelRuntimeInitializer
- commandLogger
- IRelationalCommandDiagnosticsLogger
- Attributes
Remarks
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 C# 'with' operator. Do not call the constructor at any point in this process.
Applies to
HistoryRepositoryDependencies(IRelationalDatabaseCreator, IRawSqlCommandBuilder, IRelationalConnection, IDbContextOptions, IMigrationsModelDiffer, IMigrationsSqlGenerator, ISqlGenerationHelper, IConventionSetBuilder, ModelDependencies, IRelationalTypeMappingSource, ICurrentDbContext, IModelRuntimeInitializer, IDiagnosticsLogger<DbLoggerCategory.Model>, IRelationalCommandDiagnosticsLogger)
Creates the service dependencies parameter object for a HistoryRepository.
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.
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public HistoryRepositoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator, Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder, Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies modelDependencies, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer modelRuntimeInitializer, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger commandLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator * Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder * Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Sub New (databaseCreator As IRelationalDatabaseCreator, rawSqlCommandBuilder As IRawSqlCommandBuilder, connection As IRelationalConnection, options As IDbContextOptions, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, conventionSetBuilder As IConventionSetBuilder, modelDependencies As ModelDependencies, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, modelRuntimeInitializer As IModelRuntimeInitializer, modelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model), commandLogger As IRelationalCommandDiagnosticsLogger)
Parameters
- databaseCreator
- IRelationalDatabaseCreator
- rawSqlCommandBuilder
- IRawSqlCommandBuilder
- connection
- IRelationalConnection
- options
- IDbContextOptions
- modelDiffer
- IMigrationsModelDiffer
- migrationsSqlGenerator
- IMigrationsSqlGenerator
- sqlGenerationHelper
- ISqlGenerationHelper
- conventionSetBuilder
- IConventionSetBuilder
- modelDependencies
- ModelDependencies
- typeMappingSource
- IRelationalTypeMappingSource
- currentContext
- ICurrentDbContext
- modelRuntimeInitializer
- IModelRuntimeInitializer
- modelLogger
- IDiagnosticsLogger<DbLoggerCategory.Model>
- commandLogger
- IRelationalCommandDiagnosticsLogger
- Attributes
Applies to
Entity Framework