|
|
| TempDBSqlCe (params string[] creationScripts) |
| override string | DumpSchema () |
| | (Where supported) dumps the current schema of the running database Currently only supported on mysql, when mysqldump is available
|
|
| TempDB (params string[] creationScripts) |
|
| TempDB (Action< object > beforeInit, params string[] creationScripts) |
| string | DumpSchema () |
| | (Where supported) dumps the current schema of the running database Currently only supported on mysql, when mysqldump is available
|
| void | SetupAutoDispose (TimeSpan absoluteTimeout) |
| | Set up automatic disposal of this TempDb instance (may only be done once per instance)
|
| void | SetupAutoDispose (TimeSpan? absoluteTimeout, TimeSpan? inactivityTimeout) |
| | Set up automatic disposal of this TempDb instance (may only be done once per instance)
|
|
int | TryFetchCurrentConnectionCount () |
| DbConnection | CreateConnection () |
| virtual DbConnection | OpenConnection () |
| | Opens a new connection to the TempDb instance with the connection string automatically set based on the current running parameters.
|
|
void | RunScripts (IEnumerable< string > scripts) |
| virtual void | Dispose () |
| void | DisposeManagedConnections () |
| | Close and dispose of any connections which were created by OpenConnection()
|
|
|
override int | FetchCurrentConnectionCount () |
|
override void | CreateDatabase () |
|
virtual void | Init (string[] creationScripts) |
|
int | FetchCurrentConnectionCount () |
|
void | CheckForInactivity (object _) |
| void | Log (string message, params object[] parameters) |
| | Provides a convenience logging mechanism which outputs via the established LogAction.
|
| virtual string | GenerateConnectionString () |
|
void | CreateDatabase () |
|
virtual void | DeleteTemporaryDataArtifacts () |
|
|
uint | DefaultTimeout = 30 [get, set] |
| TempDbDisposedEventHandler | Disposed [get, set] |
| | Fired when the instance is disposed. Useful if you've set up automatic disposal and would like to act on that.
|
|
bool | KeepTemporaryDatabaseArtifactsForDiagnostics [get, set] |
| string | DatabasePath [get, set] |
| | Path to where the temporary database resides. May be a file for single-file databases or a folder.
|
| string | ConnectionString [get] |
|
Action< string > | LogAction [get, set] |
|
static string[] | UndeletedArtifacts [get] |
◆ DumpSchema()
| override string PeanutButter.TempDb.SqlCe.TempDBSqlCe.DumpSchema |
( |
| ) |
|
(Where supported) dumps the current schema of the running database Currently only supported on mysql, when mysqldump is available
- Returns
Implements PeanutButter.TempDb.ITempDB.
The documentation for this class was generated from the following file:
- source/TempDb/PeanutButter.TempDb.SqlCe/TempDBSqlCe.cs