This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.EntityFrameworkCore.
Summary
Sets a named target migration to migrate the database too.
- Assembly
- Cake
.EntityFrameworkCore .dll - Namespace
- Cake
.EntityFrameworkCore .Database - Containing Type
- Ef
Core Database Update Settings Extensions
Syntax
public static EfCoreDatabaseUpdateSettings SetTargetMigration(this EfCoreDatabaseUpdateSettings settings, string migration)
Parameters
Name | Type | Description |
---|---|---|
settings | Ef |
The settings. |
migration | string | The name of the migration to target |
Return Value
Type | Description |
---|---|
Ef |
The settings instance with Migration set to migration. |