C# 클래스 ZocBuild.Database.ScriptRepositories.HgScriptRepository

Represents a script repository that stores build scripts in the Mercurial distributed version control system.
The build script files in the distributed version repository must be organized with the same structure as required by FileSystemScriptRepository. The root location must contain subdirectories for each database schema, each named with the name of the schema. Within those directories should be a directory for each database object type: Function, Procedure, Type, View. Within those directories should be the build scripts, with file names ending with ".sql". The name of each file should be the same name as the database object it creates.
상속: DvcsScriptRepositoryBase
파일 보기 프로젝트 열기: Zocdoc/ZocBuild.Database

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
HgScriptRepository ( DirectoryInfoBase scriptDirectory, string serverName, string databaseName, IExternalProcess hgExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories ) : System

Instantiates a Hg script repository for the given database at the specified directory location.

HgScriptRepository ( string scriptDirectoryPath, string serverName, string databaseName, IExternalProcess hgExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories ) : System

Instantiates a Hg script repository for the given database at the specified directory location.

보호된 메소드들

메소드 설명
GetDiffedFilesAsync ( ) : Task>

Gets the files that have changed between the revision specified by SourceChangeset and the current HEAD.

메소드 상세

GetDiffedFilesAsync() 보호된 메소드

Gets the files that have changed between the revision specified by SourceChangeset and the current HEAD.
protected GetDiffedFilesAsync ( ) : Task>
리턴 Task>

HgScriptRepository() 공개 메소드

Instantiates a Hg script repository for the given database at the specified directory location.
public HgScriptRepository ( DirectoryInfoBase scriptDirectory, string serverName, string databaseName, IExternalProcess hgExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories ) : System
scriptDirectory System.IO.Abstractions.DirectoryInfoBase The directory where build scripts are located.
serverName string The name of the database server.
databaseName string The name of the database.
hgExecutable IExternalProcess The Hg executable for interfacing with the dvcs repository.
fileSystem IFileSystem An object that provides access to the file system.
sqlParser IParser The sql script parser for reading the SQL file contents.
logger ILogger A Logger
ignoreUnsupportedSubdirectories bool A flag indicating whether to ignore subdirectories that don't conform to the expected naming convention.
리턴 System

HgScriptRepository() 공개 메소드

Instantiates a Hg script repository for the given database at the specified directory location.
public HgScriptRepository ( string scriptDirectoryPath, string serverName, string databaseName, IExternalProcess hgExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories ) : System
scriptDirectoryPath string The path to the directory where build scripts are located.
serverName string The name of the database server.
databaseName string The name of the database.
hgExecutable IExternalProcess The Hg executable for interfacing with the dvcs repository.
fileSystem IFileSystem An object that provides access to the file system.
sqlParser IParser The sql script parser for reading the SQL file contents.
logger ILogger A Logger
ignoreUnsupportedSubdirectories bool A flag indicating whether to ignore subdirectories that don't conform to the expected naming convention.
리턴 System