Summary
Back-end migrator used in the MarshalByReference
- Namespace
- Cake
.EntityFramework .Interfaces - Implementing Types
graph TD
Type["IEfMigratorBackend"]
class Type type-node
Type-.->Implementing0["EfMigratorBackend"]
click Implementing0 "/Cake.EntityFramework/api/Cake.EntityFramework.Migrator/EfMigratorBackend"
Syntax
public interface IEfMigratorBackend
Properties
Name | Value | Summary |
---|---|---|
Ready | bool |
Gets a boolean value if the migration is currently ready.
Specifically the AppDomain is ready
|
Methods
Name | Value | Summary |
---|---|---|
Generate |
ScriptResult |
Generates a script for the latest version if any
|
Generate |
ScriptResult |
Generates a script for the specific version if any
|
GetCurrentMigration |
string |
Gets the name of the current migration
|
GetLatestMigration |
string |
Gets the name of the latest migration
|
GetLocalMigrations |
IEnumerable |
Gets a list of names of local migrations
|
GetPendingMigrations |
IEnumerable |
Gets all migrations that are defined in the assembly but haven't been applied to the target database.
|
GetRemoteMigrations |
IEnumerable |
Gets all migrations that have been applied to the target database.
|
HasPendingMigrations |
bool |
Determines if there are any pending migrations
|
MigrateTo |
MigrationResult |
Migrates the data store to the specific version
|
MigrateToLatest |
MigrationResult |
Migrates the data store to the lastest version if any
|