Partilhar via


SqlServerMigrationsSqlGenerator Construtores

Definição

Sobrecargas

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)

Cria uma nova instância SqlServerMigrationsSqlGenerator.

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)

Cria uma nova instância SqlServerMigrationsSqlGenerator.

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, ICommandBatchPreparer)

Cria uma nova instância SqlServerMigrationsSqlGenerator.

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

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)

Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs

Cria uma nova instância SqlServerMigrationsSqlGenerator.

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)

Parâmetros

dependencies
MigrationsSqlGeneratorDependencies

Objeto parameter que contém dependências para esse serviço.

migrationsAnnotations
IRelationalAnnotationProvider

Anotações de migrações específicas do provedor a serem usadas.

Aplica-se a

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)

Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs

Cria uma nova instância SqlServerMigrationsSqlGenerator.

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)

Parâmetros

dependencies
MigrationsSqlGeneratorDependencies

Objeto parameter que contém dependências para esse serviço.

migrationsAnnotations
IMigrationsAnnotationProvider

Anotações de migrações específicas do provedor a serem usadas.

Aplica-se a

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, ICommandBatchPreparer)

Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs

Cria uma nova instância SqlServerMigrationsSqlGenerator.

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)

Parâmetros

dependencies
MigrationsSqlGeneratorDependencies

Objeto parameter que contém dependências para esse serviço.

commandBatchPreparer
ICommandBatchPreparer

O preparador de lote de comandos.

Aplica-se a

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)

Parâmetros

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper

Aplica-se a

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)

Parâmetros

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper
migrationsAnnotations
IMigrationsAnnotationProvider

Aplica-se a