C# Class NuGetGallery.Operations.DatabaseTaskBase

Inheritance: OpsTask
Exibir arquivo Open project: JetBrains/ReSharperGallery

Private Properties

Property Type Description

Public Methods

Method Description
ValidateArguments ( ) : void

Protected Methods

Method Description
GetConnectionFromEnvironment ( NuGetGallery.Operations.DeploymentEnvironment environment ) : System.Data.SqlClient.SqlConnectionStringBuilder
OpenConnection ( ) : SqlConnection
OpenMasterConnection ( ) : SqlConnection
WithConnection ( Func act ) : bool
WithConnection ( SqlExecutor>.Action act ) : void
WithConnection ( Action act ) : void
WithMasterConnection ( Func act ) : bool
WithMasterConnection ( SqlExecutor>.Action act ) : void
WithMasterConnection ( Action act ) : void
WithTableType ( SqlConnection connection, string name, string definition, System.Action act ) : void

Method Details

GetConnectionFromEnvironment() protected abstract method

protected abstract GetConnectionFromEnvironment ( NuGetGallery.Operations.DeploymentEnvironment environment ) : System.Data.SqlClient.SqlConnectionStringBuilder
environment NuGetGallery.Operations.DeploymentEnvironment
return System.Data.SqlClient.SqlConnectionStringBuilder

OpenConnection() protected method

protected OpenConnection ( ) : SqlConnection
return System.Data.SqlClient.SqlConnection

OpenMasterConnection() protected method

protected OpenMasterConnection ( ) : SqlConnection
return System.Data.SqlClient.SqlConnection

ValidateArguments() public method

public ValidateArguments ( ) : void
return void

WithConnection() protected method

protected WithConnection ( Func act ) : bool
act Func
return bool

WithConnection() protected method

protected WithConnection ( SqlExecutor>.Action act ) : void
act SqlExecutor>.Action
return void

WithConnection() protected method

protected WithConnection ( Action act ) : void
act Action
return void

WithMasterConnection() protected method

protected WithMasterConnection ( Func act ) : bool
act Func
return bool

WithMasterConnection() protected method

protected WithMasterConnection ( SqlExecutor>.Action act ) : void
act SqlExecutor>.Action
return void

WithMasterConnection() protected method

protected WithMasterConnection ( Action act ) : void
act Action
return void

WithTableType() protected static method

protected static WithTableType ( SqlConnection connection, string name, string definition, System.Action act ) : void
connection System.Data.SqlClient.SqlConnection
name string
definition string
act System.Action
return void