C# Класс EnterpriseWebLibrary.InstallationSupportUtility.DatabaseAbstraction.Databases.SqlServer

Наследование: Database
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ExecuteDbMethod() публичный Метод

public ExecuteDbMethod ( Action method ) : void
method Action
Результат void

GetLogFilesOrderedByNewest() публичный статический Метод

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
Результат IEnumerable

GetLogSummary() публичный Метод

public GetLogSummary ( string folderPath ) : string
folderPath string
Результат string

SqlServer() публичный Метод

public SqlServer ( EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo info, string dataLogicalFileName, string logLogicalFileName ) : System
info EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo
dataLogicalFileName string
logLogicalFileName string
Результат System