Share via


MigrationsSqlGeneratorDependencies Constructors

Definition

Overloads

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper)

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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.

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, ISingletonUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalTypeMappingSource)

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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.

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, IUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMappingSource, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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.

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, IUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMappingSource, ICurrentDbContext, ILoggingOptions, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, IDiagnosticsLogger<DbLoggerCategory.Migrations>)

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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.

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, IUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMappingSource, ICurrentDbContext, IModificationCommandFactory, ILoggingOptions, IRelationalCommandDiagnosticsLogger, IDiagnosticsLogger<DbLoggerCategory.Migrations>)

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.

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper)

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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 MigrationsSqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper);
new Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper -> Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, typeMapper As IRelationalTypeMapper)

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory

The command builder factory.

sqlGenerationHelper
ISqlGenerationHelper

Helpers for SQL generation.

typeMapper
IRelationalTypeMapper

The type mapper being used.

Applies to

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, ISingletonUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalTypeMappingSource)

Source:
MigrationsSqlGeneratorDependencies.cs
Source:
MigrationsSqlGeneratorDependencies.cs

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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 MigrationsSqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Update.Internal.ISingletonUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
new Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Update.Internal.ISingletonUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, updateSqlGenerator As ISingletonUpdateSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, typeMapper As IRelationalTypeMapper, typeMappingSource As IRelationalTypeMappingSource)

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory

The command builder factory.

updateSqlGenerator
Microsoft.EntityFrameworkCore.Update.Internal.ISingletonUpdateSqlGenerator

High level SQL generator.

sqlGenerationHelper
ISqlGenerationHelper

Helpers for SQL generation.

typeMapper
IRelationalTypeMapper

The type mapper being used.

typeMappingSource
IRelationalTypeMappingSource

The type mapper.

Applies to

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, IUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMappingSource, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Source:
MigrationsSqlGeneratorDependencies.cs
Source:
MigrationsSqlGeneratorDependencies.cs

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public MigrationsSqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, updateSqlGenerator As IUpdateSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory
updateSqlGenerator
IUpdateSqlGenerator
sqlGenerationHelper
ISqlGenerationHelper
typeMappingSource
IRelationalTypeMappingSource
currentContext
ICurrentDbContext
Attributes

Applies to

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, IUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMappingSource, ICurrentDbContext, ILoggingOptions, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, IDiagnosticsLogger<DbLoggerCategory.Migrations>)

Source:
MigrationsSqlGeneratorDependencies.cs

Creates the service dependencies parameter object for a MigrationsSqlGenerator.

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.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public MigrationsSqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> migrationsLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> -> Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, updateSqlGenerator As IUpdateSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, loggingOptions As ILoggingOptions, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command), migrationsLogger As IDiagnosticsLogger(Of DbLoggerCategory.Migrations))

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory
updateSqlGenerator
IUpdateSqlGenerator
sqlGenerationHelper
ISqlGenerationHelper
typeMappingSource
IRelationalTypeMappingSource
currentContext
ICurrentDbContext
loggingOptions
ILoggingOptions
Attributes

Applies to

MigrationsSqlGeneratorDependencies(IRelationalCommandBuilderFactory, IUpdateSqlGenerator, ISqlGenerationHelper, IRelationalTypeMappingSource, ICurrentDbContext, IModificationCommandFactory, ILoggingOptions, IRelationalCommandDiagnosticsLogger, IDiagnosticsLogger<DbLoggerCategory.Migrations>)

Source:
MigrationsSqlGeneratorDependencies.cs
Source:
MigrationsSqlGeneratorDependencies.cs
Source:
MigrationsSqlGeneratorDependencies.cs
Source:
MigrationsSqlGeneratorDependencies.cs

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 MigrationsSqlGeneratorDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Update.IModificationCommandFactory modificationCommandFactory, Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger logger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> migrationsLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Update.IModificationCommandFactory * Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> -> Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, updateSqlGenerator As IUpdateSqlGenerator, sqlGenerationHelper As ISqlGenerationHelper, typeMappingSource As IRelationalTypeMappingSource, currentContext As ICurrentDbContext, modificationCommandFactory As IModificationCommandFactory, loggingOptions As ILoggingOptions, logger As IRelationalCommandDiagnosticsLogger, migrationsLogger As IDiagnosticsLogger(Of DbLoggerCategory.Migrations))

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory
updateSqlGenerator
IUpdateSqlGenerator
sqlGenerationHelper
ISqlGenerationHelper
typeMappingSource
IRelationalTypeMappingSource
currentContext
ICurrentDbContext
modificationCommandFactory
IModificationCommandFactory
loggingOptions
ILoggingOptions
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