Property | 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 |
Method | Description | |
---|---|---|
ExecuteDbMethod ( Action |
||
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 |
Method | 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 |
||
executeDbMethodWithSpecifiedDatabaseInfo ( EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo info, Action |
||
executeLongRunningCommand ( DBConnection cn, string commandText ) : void | ||
executeMethodWithDbExceptionHandling ( System.Action method ) : void | ||
getLogIdFromFileName ( string logFileName ) : int | ||
getStandbyFilePath ( ) : string |
public ExecuteDbMethod ( Action |
||
method | Action |
|
return | void |
public static GetLogFilesOrderedByNewest ( string folderPath, string includeOnlyFilesNewerThanThisLogFileName = "" ) : IEnumerable |
||
folderPath | string | |
includeOnlyFilesNewerThanThisLogFileName | string | |
return | IEnumerable |
public GetLogSummary ( string folderPath ) : string | ||
folderPath | string | |
return | string |
public SqlServer ( EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo info, string dataLogicalFileName, string logLogicalFileName ) : System | ||
info | EnterpriseWebLibrary.DatabaseSpecification.Databases.SqlServerInfo | |
dataLogicalFileName | string | |
logLogicalFileName | string | |
return | System |