C# 클래스 Migr8.Options

Configure options for Migr8
파일 보기 프로젝트 열기: rebus-org/migr8 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DoNothing void
GetWriter IWriter
LogToConsole void

공개 메소드들

메소드 설명
Options ( string migrationTableName = DefaultMigrationTableName, Action logAction = null, Action verboseLogAction = null ) : System

Creates an options object fo the migrator to use.

비공개 메소드들

메소드 설명
DoNothing ( string text ) : void
GetWriter ( ) : IWriter
LogToConsole ( string text ) : void

메소드 상세

Options() 공개 메소드

Creates an options object fo the migrator to use.
public Options ( string migrationTableName = DefaultMigrationTableName, Action logAction = null, Action verboseLogAction = null ) : System
migrationTableName string Optionally specifies the name of the table in which executed migrations will be logged. Defaults to .
logAction Action Optionally specifies a log action to use, which can be used to track progress as the migrator is running. Defaults to printing output to the console.
verboseLogAction Action Optionally specifies a log action to use for detailed logging, which can be used to track progress as the migrator is running. Defaults to not doing anything.
리턴 System