SqliteMigrationsSqlGenerator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SqliteMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies)
public SqliteMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies -> Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies)
参数
- dependencies
- MigrationsSqlGeneratorDependencies
适用于
SqliteMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IRelationalAnnotationProvider)
创建一个新的 SqliteMigrationsSqlGenerator 实例。
public SqliteMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider migrationsAnnotations);
new Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies * Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies, migrationsAnnotations As IRelationalAnnotationProvider)
参数
- dependencies
- MigrationsSqlGeneratorDependencies
包含此服务的依赖项的参数对象。
- migrationsAnnotations
- IRelationalAnnotationProvider
要使用的特定于提供程序的迁移注释。
适用于
SqliteMigrationsSqlGenerator(MigrationsSqlGeneratorDependencies, IMigrationsAnnotationProvider)
创建一个新的 SqliteMigrationsSqlGenerator 实例。
public SqliteMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies dependencies, Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider migrationsAnnotations);
new Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGeneratorDependencies * Microsoft.EntityFrameworkCore.Migrations.IMigrationsAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator
Public Sub New (dependencies As MigrationsSqlGeneratorDependencies, migrationsAnnotations As IMigrationsAnnotationProvider)
参数
- dependencies
- MigrationsSqlGeneratorDependencies
包含此服务的依赖项的参数对象。
- migrationsAnnotations
- IMigrationsAnnotationProvider
要使用的特定于提供程序的迁移注释。
适用于
SqliteMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)
public SqliteMigrationsSqlGenerator (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider annotations);
new Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider -> Microsoft.EntityFrameworkCore.Migrations.SqliteMigrationsSqlGenerator
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, typeMapper As IRelationalTypeMapper, annotations As IRelationalAnnotationProvider)
参数
- commandBuilderFactory
- IRelationalCommandBuilderFactory
- sqlGenerationHelper
- ISqlGenerationHelper
- typeMapper
- IRelationalTypeMapper
- annotations
- IRelationalAnnotationProvider