C# Class MigSharp.DbSchema

Exposes the API to alter database schemas without taking account of versioning.
Inheritance: DbAlterer
Afficher le fichier Open project: dradovic/MigSharp

Méthodes publiques

Méthode Description
Alter ( Action alterDatabase ) : void

Alters the database schema as specified using the fluent interface on the passed IDatabase.

Alter ( IMigration migration ) : void

Alters the database schema by applying the specified migration. Versioning is unaffected by this operation and any timestamp information on the migration is disregarded.

DbSchema ( string connectionString, DbPlatform dbPlatform ) : System

Initializes a new instance of DbSchema with default options.

DbSchema ( string connectionString, DbPlatform dbPlatform, DbAltererOptions options ) : System

Initializes a new instance of DbSchema.

Method Details

Alter() public méthode

Alters the database schema as specified using the fluent interface on the passed IDatabase.
public Alter ( Action alterDatabase ) : void
alterDatabase Action
Résultat void

Alter() public méthode

Alters the database schema by applying the specified migration. Versioning is unaffected by this operation and any timestamp information on the migration is disregarded.
public Alter ( IMigration migration ) : void
migration IMigration
Résultat void

DbSchema() public méthode

Initializes a new instance of DbSchema with default options.
public DbSchema ( string connectionString, DbPlatform dbPlatform ) : System
connectionString string
dbPlatform DbPlatform
Résultat System

DbSchema() public méthode

Initializes a new instance of DbSchema.
public DbSchema ( string connectionString, DbPlatform dbPlatform, DbAltererOptions options ) : System
connectionString string
dbPlatform DbPlatform
options DbAltererOptions
Résultat System