Share via


MigrationsSqlGenerator Constructors

Definition

Overloads

MigrationsSqlGenerator(MigrationsSqlGeneratorDependencies)

Creates a new MigrationsSqlGenerator instance using the given dependencies.

MigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)

MigrationsSqlGenerator(MigrationsSqlGeneratorDependencies)

Creates a new MigrationsSqlGenerator instance using the given dependencies.

public MigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies -> Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies)

Parameters

dependencies
MigrationsSqlGeneratorDependencies

Parameter object containing dependencies for this service.

Applies to

MigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)

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

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper

Applies to