MigrationScaffolder 构造函数
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
初始化 MigrationScaffolder 类的新实例。
命名空间: System.Data.Entity.Migrations.Design
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Sub New ( _
migrationsConfiguration As DbMigrationsConfiguration _
)
用法
Dim migrationsConfiguration As DbMigrationsConfiguration
Dim instance As New MigrationScaffolder(migrationsConfiguration)
public MigrationScaffolder(
DbMigrationsConfiguration migrationsConfiguration
)
public:
MigrationScaffolder(
DbMigrationsConfiguration^ migrationsConfiguration
)
new :
migrationsConfiguration:DbMigrationsConfiguration -> MigrationScaffolder
public function MigrationScaffolder(
migrationsConfiguration : DbMigrationsConfiguration
)
参数
- migrationsConfiguration
类型:System.Data.Entity.Migrations.DbMigrationsConfiguration
要用于搭建基架的配置。