C# 클래스 ZocBuild.Database.ScriptFile

Represents a build script for a database object.
파일 보기 프로젝트 열기: Zocdoc/ZocBuild.Database 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AssertMatchingContent void
AssignExistingDatabaseDependencies void

공개 메소드들

메소드 설명
ScriptFile ( DatabaseObject scriptObject, BuildErrorBase error ) : System

Instantiates a build script object in the given error state.

The instance created by this constructor represents a build script that was determined to be invalid even before the script content was parsed. This usually happens when the script repository encounters a problem.

ScriptFile ( TypedDatabaseObject scriptObject, string scriptContent, IParser parser ) : System

Instantiates a build script object.

This constructor will attempt to parse the given SQL and determine whether it is valid and whether the script creates the object specified by the given identifier. If the script is invalid in anyway, the ScriptError property will reflect that.

비공개 메소드들

메소드 설명
AssertMatchingContent ( ) : void
AssignExistingDatabaseDependencies ( ISet dependencies ) : void

메소드 상세

ScriptFile() 공개 메소드

Instantiates a build script object in the given error state.
The instance created by this constructor represents a build script that was determined to be invalid even before the script content was parsed. This usually happens when the script repository encounters a problem.
public ScriptFile ( DatabaseObject scriptObject, BuildErrorBase error ) : System
scriptObject DatabaseObject The identifier of the database object.
error BuildErrorBase The error that was encountered for this script.
리턴 System

ScriptFile() 공개 메소드

Instantiates a build script object.
This constructor will attempt to parse the given SQL and determine whether it is valid and whether the script creates the object specified by the given identifier. If the script is invalid in anyway, the ScriptError property will reflect that.
public ScriptFile ( TypedDatabaseObject scriptObject, string scriptContent, IParser parser ) : System
scriptObject TypedDatabaseObject The identifier of the database object to build.
scriptContent string The build script SQL content.
parser IParser The sql script parser for reading the SQL script content.
리턴 System