LocalDb implmentation if ILocalDbFactory.
More...
|
string | InstanceName [get, set] |
| LocalDb instance, usually something like "v11.0".
|
◆ LocalDbFactory()
PeanutButter.TempDb.LocalDb.LocalDbFactory.LocalDbFactory |
( |
string | instanceName | ) |
|
Constructor for a LocalDbFactory which takes an override InstanceName to attach to.
- Parameters
-
◆ CreateDatabase()
virtual void PeanutButter.TempDb.LocalDb.LocalDbFactory.CreateDatabase |
( |
string | databaseName, |
|
|
string | databaseFile ) |
|
virtual |
◆ GetMasterConnectionString()
string PeanutButter.TempDb.LocalDb.LocalDbFactory.GetMasterConnectionString |
( |
| ) |
|
Gets the connectionstring to the master database for the configured LocalDb instance, required to be able to create a new temporary LocalDb database.
- Returns
The documentation for this class was generated from the following file:
- source/TempDb/PeanutButter.TempDb.LocalDb/LocalDbFactory.cs