C# Class Galen.Ci.EntityFramework.DeploymentHistory

显示文件 Open project: GalenHealthcare/Galen.Ef.Deployer Class Usage Examples

Public Methods

Method Description
Create ( string contextKey, string deployerVersion, string targetAssemblyPath, DbConnection connection, string schemaName ) : void
Extract ( string deploymentId, DbConnection connection, string schemaName, string extractDirectoryPath, bool disableVerification = false ) : string
ExtractCurrent ( string contextKey, DbConnection connection, string schemaName, string extractDirectoryPath ) : string
Setup ( DbConnection connection, string schemaName ) : void

Private Methods

Method Description
GetDeploymentBinaries ( DirectoryInfo targetAssemblyDirectory, Stream &binariesStream, Stream &hashesStream ) : void
GetIsDeploymentHistoryTableExists ( DbConnection connection, string schemaName ) : bool
Save ( string contextKey, string assemblyFileName, byte binaries, byte hashes, string deployerVersion, DbConnection connection, string schemaName ) : void

Method Details

Create() public static method

public static Create ( string contextKey, string deployerVersion, string targetAssemblyPath, DbConnection connection, string schemaName ) : void
contextKey string
deployerVersion string
targetAssemblyPath string
connection System.Data.Common.DbConnection
schemaName string
return void

Extract() public static method

public static Extract ( string deploymentId, DbConnection connection, string schemaName, string extractDirectoryPath, bool disableVerification = false ) : string
deploymentId string
connection System.Data.Common.DbConnection
schemaName string
extractDirectoryPath string
disableVerification bool
return string

ExtractCurrent() public static method

public static ExtractCurrent ( string contextKey, DbConnection connection, string schemaName, string extractDirectoryPath ) : string
contextKey string
connection System.Data.Common.DbConnection
schemaName string
extractDirectoryPath string
return string

Setup() public static method

public static Setup ( DbConnection connection, string schemaName ) : void
connection System.Data.Common.DbConnection
schemaName string
return void