InitialMigration Properties |
The InitialMigration type exposes the following members.
| Name | Description | |
|---|---|---|
| ActiveProvider | The name of the current database provider. This can be used to write conditional code in the migration such that different changes can be made to the database depending on the type of database being used. | |
| DownOperations | The MigrationOperations that will migrate the database 'down'. That is, those operations that need to be applied to the database to take it from the state left in by this migration so that it returns to the state that it was in before this migration was applied. | |
| TargetModel |
The IModel that the database will map to after the migration has been applied.
(Inherited from Migration.) | |
| UpOperations | The MigrationOperations that will migrate the database 'up'. That is, those operations that need to be applied to the database to take it from the state left in by the previous migration so that it is up-to-date with regard to this migration. |