C# Класс MigSharp.DbSchema

Exposes the API to alter database schemas without taking account of versioning.
Наследование: DbAlterer
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Alter() публичный Метод

Alters the database schema as specified using the fluent interface on the passed IDatabase.
public Alter ( Action alterDatabase ) : void
alterDatabase Action
Результат void

Alter() публичный Метод

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
Результат void

DbSchema() публичный Метод

Initializes a new instance of DbSchema with default options.
public DbSchema ( string connectionString, DbPlatform dbPlatform ) : System
connectionString string
dbPlatform DbPlatform
Результат System

DbSchema() публичный Метод

Initializes a new instance of DbSchema.
public DbSchema ( string connectionString, DbPlatform dbPlatform, DbAltererOptions options ) : System
connectionString string
dbPlatform DbPlatform
options DbAltererOptions
Результат System