C# 클래스 MigSharp.MigrationOptions

Use this class to configure the behaviour of the Migrator.
파일 보기 프로젝트 열기: dradovic/MigSharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetScriptingOptions MigSharp.Process.ScriptingOptions
SetGeneralTraceLevel void
SetPerformanceTraceLevel void
SetSqlTraceLevel void

공개 메소드들

메소드 설명
ExecuteAndScriptSqlTo ( DirectoryInfo targetDirectory ) : void

Outputs the SQL used for the migrations to external files while migrating the database.

ExecuteAndScriptSqlTo ( string targetDirectory ) : void

Outputs the SQL used for the migrations to external files while migrating the database.

MigrationOptions ( ) : System

Initializes an instance of default options.

MigrationOptions ( string moduleName ) : System

Initializes options that select migrations for specific module only.

OnlyScriptSqlTo ( DirectoryInfo targetDirectory ) : void

Outputs the SQL used for the migrations to external files without affecting the database.

OnlyScriptSqlTo ( string targetDirectory ) : void

Outputs the SQL used for the migrations to external files without affecting the database.

비공개 메소드들

메소드 설명
GetScriptingOptions ( ) : MigSharp.Process.ScriptingOptions
SetGeneralTraceLevel ( SourceLevels sourceLevels ) : void
SetPerformanceTraceLevel ( SourceLevels sourceLevels ) : void
SetSqlTraceLevel ( SourceLevels sourceLevels ) : void

메소드 상세

ExecuteAndScriptSqlTo() 공개 메소드

Outputs the SQL used for the migrations to external files while migrating the database.
public ExecuteAndScriptSqlTo ( DirectoryInfo targetDirectory ) : void
targetDirectory System.IO.DirectoryInfo
리턴 void

ExecuteAndScriptSqlTo() 공개 메소드

Outputs the SQL used for the migrations to external files while migrating the database.
public ExecuteAndScriptSqlTo ( string targetDirectory ) : void
targetDirectory string
리턴 void

MigrationOptions() 공개 메소드

Initializes an instance of default options.
public MigrationOptions ( ) : System
리턴 System

MigrationOptions() 공개 메소드

Initializes options that select migrations for specific module only.
public MigrationOptions ( string moduleName ) : System
moduleName string The name of the selected module. Only migrations for this module will be executed.
리턴 System

OnlyScriptSqlTo() 공개 메소드

Outputs the SQL used for the migrations to external files without affecting the database.
public OnlyScriptSqlTo ( DirectoryInfo targetDirectory ) : void
targetDirectory System.IO.DirectoryInfo
리턴 void

OnlyScriptSqlTo() 공개 메소드

Outputs the SQL used for the migrations to external files without affecting the database.
public OnlyScriptSqlTo ( string targetDirectory ) : void
targetDirectory string
리턴 void