IMigrationsAssembly.CreateMigration(TypeInfo, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of the migration class.
public Microsoft.EntityFrameworkCore.Migrations.Migration CreateMigration (System.Reflection.TypeInfo migrationClass, string activeProvider);
abstract member CreateMigration : System.Reflection.TypeInfo * string -> Microsoft.EntityFrameworkCore.Migrations.Migration
Public Function CreateMigration (migrationClass As TypeInfo, activeProvider As String) As Migration
Parameters
- migrationClass
- TypeInfo
The TypeInfo for the migration class, as obtained from the Migrations dictionary.
- activeProvider
- String
The name of the current database provider.
Returns
The migration instance.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework