C# Class EnterpriseWebLibrary.InstallationSupportUtility.DatabaseAbstraction.Databases.SqlServer

Inheritance: Database
Afficher le fichier Open project: enduracode/enterprise-web-library

Private Properties

Свойство Type Description
Database List
Database List
Database int
Database void
Database void
Database void
Database void
deleteAndReCreateFromFile void
executeDbMethodAgainstMaster void
executeDbMethodWithSpecifiedDatabaseInfo void
executeLongRunningCommand void
executeMethodWithDbExceptionHandling void
getLogIdFromFileName int
getStandbyFilePath string

Méthodes publiques

Méthode Description
ExecuteDbMethod ( Action method ) : void
GetLogFilesOrderedByNewest ( string folderPath, string includeOnlyFilesNewerThanThisLogFileName = "" ) : IEnumerable

Returns the list of file names in the given folder, ordered with the newest log file first (according to ID). The predicate uses the database ID to determine if the file should be included in the results.

GetLogSummary ( string folderPath ) : string
SqlServer ( EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo info, string dataLogicalFileName, string logLogicalFileName ) : System

Private Methods

Méthode Description
Database ( string procedure ) : List
Database ( ) : List
Database ( ) : int
Database ( ) : void
Database ( int value ) : void
Database ( string folderPath ) : void
Database ( string filePath, bool keepDbInStandbyMode ) : void
deleteAndReCreateFromFile ( DBConnection cn, string filePath, bool keepDbInStandbyMode ) : void
executeDbMethodAgainstMaster ( Action method ) : void
executeDbMethodWithSpecifiedDatabaseInfo ( EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo info, Action method ) : void
executeLongRunningCommand ( DBConnection cn, string commandText ) : void
executeMethodWithDbExceptionHandling ( System.Action method ) : void
getLogIdFromFileName ( string logFileName ) : int
getStandbyFilePath ( ) : string

Method Details

ExecuteDbMethod() public méthode

public ExecuteDbMethod ( Action method ) : void
method Action
Résultat void

GetLogFilesOrderedByNewest() public static méthode

Returns the list of file names in the given folder, ordered with the newest log file first (according to ID). The predicate uses the database ID to determine if the file should be included in the results.
public static GetLogFilesOrderedByNewest ( string folderPath, string includeOnlyFilesNewerThanThisLogFileName = "" ) : IEnumerable
folderPath string
includeOnlyFilesNewerThanThisLogFileName string
Résultat IEnumerable

GetLogSummary() public méthode

public GetLogSummary ( string folderPath ) : string
folderPath string
Résultat string

SqlServer() public méthode

public SqlServer ( EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo info, string dataLogicalFileName, string logLogicalFileName ) : System
info EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo
dataLogicalFileName string
logLogicalFileName string
Résultat System