C# 클래스 MigSharp.DbSchema

Exposes the API to alter database schemas without taking account of versioning.
상속: DbAlterer
파일 보기 프로젝트 열기: dradovic/MigSharp

공개 메소드들

메소드 설명
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