Share via


SqlServerMigrationsSqlGenerator Constructors

Definition

Overloads

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)

Creates a new SqlServerMigrationsSqlGenerator instance.

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)

Creates a new SqlServerMigrationsSqlGenerator instance.

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, ICommandBatchPreparer)

Creates a new SqlServerMigrationsSqlGenerator instance.

SqlServerMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)
SqlServerMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider, IMigrationsAnnotationProvider)

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)

Creates a new SqlServerMigrationsSqlGenerator instance.

public SqlServerMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider migrationsAnnotations);
new Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies * Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies, migrationsAnnotations As IRelationalAnnotationProvider)

Parameters

dependencies
MigrationsSqlGeneratorDependencies

Parameter object containing dependencies for this service.

migrationsAnnotations
IRelationalAnnotationProvider

Provider-specific Migrations annotations to use.

Applies to

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)

Creates a new SqlServerMigrationsSqlGenerator instance.

public SqlServerMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider migrationsAnnotations);
new Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies, migrationsAnnotations As IMigrationsAnnotationProvider)

Parameters

dependencies
MigrationsSqlGeneratorDependencies

Parameter object containing dependencies for this service.

migrationsAnnotations
IMigrationsAnnotationProvider

Provider-specific Migrations annotations to use.

Applies to

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, ICommandBatchPreparer)

Creates a new SqlServerMigrationsSqlGenerator instance.

public SqlServerMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Update.ICommandBatchPreparer commandBatchPreparer);
new Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies * Microsoft.EntityFrameworkCore.Update.ICommandBatchPreparer -> Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies, commandBatchPreparer As ICommandBatchPreparer)

Parameters

dependencies
MigrationsSqlGeneratorDependencies

Parameter object containing dependencies for this service.

commandBatchPreparer
ICommandBatchPreparer

The command batch preparer.

Applies to

SqlServerMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)

public SqlServerMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider annotations);
new Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, typeMapper As IRelationalTypeMapper, annotations As IRelationalAnnotationProvider)

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper

Applies to

SqlServerMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider, IMigrationsAnnotationProvider)

public SqlServerMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider annotations, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider migrationsAnnotations);
new Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, typeMapper As IRelationalTypeMapper, annotations As IRelationalAnnotationProvider, migrationsAnnotations As IMigrationsAnnotationProvider)

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper
migrationsAnnotations
IMigrationsAnnotationProvider

Applies to