MannsBlog.Data Namespace
MannsBlog.Services Namespace
MannsBlog.Services.DataProviders Namespace
MannsBlog

InitialDb Methods

The InitialDb type exposes the following members.

Methods


  Name Description
Protected method BuildTargetModel
Protected method Down

Builds the operations that will migrate the database 'down'.

That is, builds the operations that will take the database from the state left in by this migration so that it returns to the state that it was in before this migration was applied.

This method must be overridden in each class the inherits from Migration if both 'up' and 'down' migrations are to be supported. If it is not overridden, then calling it will throw and it will not be possible to migrate in the 'down' direction.

Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Protected method Up

Builds the operations that will migrate the database 'up'.

That is, builds the operations that will take the database from the state left in by the previous migration so that it is up-to-date with regard to this migration.

This method must be overridden in each class the inherits from Migration.