C# 클래스 Net.Sf.Dbdeploy.Scripts.ChangeScript

Represents a SQL script to be executed.
상속: Net.Sf.Dbdeploy.Database.UniqueChange
파일 보기 프로젝트 열기: brunomlopes/dbdeploy.net 1 사용 예제들

공개 메소드들

메소드 설명
ChangeScript ( string folder, int scriptNumber ) : System.Globalization

Initializes a new instance of the ChangeScript class.

ChangeScript ( string folder, int scriptNumber, FileInfo fileInfo, Encoding encoding ) : System.Globalization

Initializes a new instance of the ChangeScript class.

ChangeScript ( string folder, int scriptNumber, string fileName ) : System.Globalization

Initializes a new instance of the ChangeScript class.

GetContent ( ) : string

Gets the SQL file update content.

GetUndoContent ( ) : string

Gets the SQL file undo content.

ToString ( ) : string

Returns a System.String that represents this instance.

비공개 메소드들

메소드 설명
GetFileContents ( bool undo = false ) : string

Gets the file contents.

메소드 상세

ChangeScript() 공개 메소드

Initializes a new instance of the ChangeScript class.
public ChangeScript ( string folder, int scriptNumber ) : System.Globalization
folder string The version folder.
scriptNumber int The script number.
리턴 System.Globalization

ChangeScript() 공개 메소드

Initializes a new instance of the ChangeScript class.
public ChangeScript ( string folder, int scriptNumber, FileInfo fileInfo, Encoding encoding ) : System.Globalization
folder string The version folder.
scriptNumber int The script number.
fileInfo System.IO.FileInfo The file.
encoding System.Text.Encoding The encoding.
리턴 System.Globalization

ChangeScript() 공개 메소드

Initializes a new instance of the ChangeScript class.
public ChangeScript ( string folder, int scriptNumber, string fileName ) : System.Globalization
folder string The version folder.
scriptNumber int The script number.
fileName string Name of the file.
리턴 System.Globalization

GetContent() 공개 메소드

Gets the SQL file update content.
public GetContent ( ) : string
리턴 string

GetUndoContent() 공개 메소드

Gets the SQL file undo content.
public GetUndoContent ( ) : string
리턴 string

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string