C# Class Two10.SQLDatabaseBackup.DatabaseCopier

Inheritance: IDisposable
Datei anzeigen Open project: richorama/SQLDatabaseBackup Class Usage Examples

Public Methods

Method Description
Copy ( string database, string newDatabase ) : void
DatabaseCopier ( SqlConnection connection ) : System
Dispose ( ) : void
DropDatabase ( string database ) : void

Private Methods

Method Description
CheckDatabaseCopied ( string database ) : bool
CopyDatabase ( string database, string newDatabase ) : void

Method Details

Copy() public method

public Copy ( string database, string newDatabase ) : void
database string
newDatabase string
return void

DatabaseCopier() public method

public DatabaseCopier ( SqlConnection connection ) : System
connection System.Data.SqlClient.SqlConnection
return System

Dispose() public method

public Dispose ( ) : void
return void

DropDatabase() public method

public DropDatabase ( string database ) : void
database string
return void