C# 클래스 Drey.Configuration.Infrastructure.Schema.MigrationManager

Manages the Fluentmigrator migration tooling.
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
Migrate ( Drey config ) : void

Migrates the configuration database, making a backup before it begins.

Migrate ( string fileNameAndPath, bool withBackup = false, bool withAnnouncer = false ) : void

Migrates the specified file name and path. This method is called directly when performing integration tests.

비공개 메소드들

메소드 설명
Backup ( FileInfo currentDb ) : string

Backups the current configuration database before a migration.

메소드 상세

Migrate() 공개 정적인 메소드

Migrates the configuration database, making a backup before it begins.
public static Migrate ( Drey config ) : void
config Drey The configuration.
리턴 void

Migrate() 공개 정적인 메소드

Migrates the specified file name and path. This method is called directly when performing integration tests.
public static Migrate ( string fileNameAndPath, bool withBackup = false, bool withAnnouncer = false ) : void
fileNameAndPath string The file name and path.
withBackup bool if set to true [with backup].
withAnnouncer bool if set to true [with announcer].
리턴 void