C# 클래스 PiroPiro.DbCleanup.SqlServer.SqlServerStrategy

Base class for strategies that clean up a SQL database
상속: DbCleanupStrategy
파일 보기 프로젝트 열기: benjamine/PiroPiro

공개 메소드들

메소드 설명
DbExists ( string databaseName, string serverName, string userName = null, string password = null ) : bool
SqlServerStrategy ( Configuration configuration = null ) : System
SqlServerStrategy_Executed ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
Attach ( string databaseName, string serverName, string userName, string password, string mdfFile ) : void
Detach ( string databaseName, string serverName, string userName = null, string password = null ) : void
GetDatabaseFiles ( string databaseName, string serverName, string &mdfFile, string &logFile, string userName = null, string password = null ) : void
GrantFullControl ( string filename, string user ) : void
LocalPathToUnc ( string serverName, string fullpath ) : string

메소드 상세

DbExists() 공개 정적인 메소드

public static DbExists ( string databaseName, string serverName, string userName = null, string password = null ) : bool
databaseName string
serverName string
userName string
password string
리턴 bool

SqlServerStrategy() 공개 메소드

public SqlServerStrategy ( Configuration configuration = null ) : System
configuration Configuration
리턴 System

SqlServerStrategy_Executed() 공개 메소드

public SqlServerStrategy_Executed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void