C# 클래스 EnterpriseWebLibrary.InstallationSupportUtility.DatabaseAbstraction.Databases.SqlServer

상속: Database
파일 보기 프로젝트 열기: enduracode/enterprise-web-library

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