Поделиться через


SqlServerMigrationsSqlGenerator Конструкторы

Определение

Перегрузки

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)

Создает новый экземпляр SqlServerMigrationsSqlGenerator.

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)

Создает новый экземпляр SqlServerMigrationsSqlGenerator.

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, ICommandBatchPreparer)

Создает новый экземпляр SqlServerMigrationsSqlGenerator.

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

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)

Исходный код:
SqlServerMigrationsSqlGenerator.cs
Исходный код:
SqlServerMigrationsSqlGenerator.cs

Создает новый экземпляр 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)

Параметры

dependencies
MigrationsSqlGeneratorDependencies

Объект параметра, содержащий зависимости для этой службы.

migrationsAnnotations
IRelationalAnnotationProvider

Заметки к миграциям для конкретного поставщика.

Применяется к

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)

Исходный код:
SqlServerMigrationsSqlGenerator.cs
Исходный код:
SqlServerMigrationsSqlGenerator.cs
Исходный код:
SqlServerMigrationsSqlGenerator.cs
Исходный код:
SqlServerMigrationsSqlGenerator.cs

Создает новый экземпляр 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)

Параметры

dependencies
MigrationsSqlGeneratorDependencies

Объект параметра, содержащий зависимости для этой службы.

migrationsAnnotations
IMigrationsAnnotationProvider

Заметки к миграциям для конкретного поставщика.

Применяется к

SqlServerMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, ICommandBatchPreparer)

Исходный код:
SqlServerMigrationsSqlGenerator.cs
Исходный код:
SqlServerMigrationsSqlGenerator.cs
Исходный код:
SqlServerMigrationsSqlGenerator.cs

Создает новый экземпляр 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)

Параметры

dependencies
MigrationsSqlGeneratorDependencies

Объект параметра, содержащий зависимости для этой службы.

commandBatchPreparer
ICommandBatchPreparer

Средство подготовки пакета команд.

Применяется к

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)

Параметры

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper

Применяется к

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)

Параметры

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper
migrationsAnnotations
IMigrationsAnnotationProvider

Применяется к