PeanutButter
Loading...
Searching...
No Matches
PeanutButter.TempDb.LocalDb.ILocalDbFactory Interface Reference

Interface to implement when your TempDB implementation needs to create a temporary database. More...

Inheritance diagram for PeanutButter.TempDb.LocalDb.ILocalDbFactory:
PeanutButter.TempDb.LocalDb.LocalDbFactory

Public Member Functions

void CreateDatabase (string databaseName, string databaseFile)
 Method to implement for a TempDB implementation. Will be given a database name and available temporary local file to use.

Detailed Description

Interface to implement when your TempDB implementation needs to create a temporary database.

Member Function Documentation

◆ CreateDatabase()

void PeanutButter.TempDb.LocalDb.ILocalDbFactory.CreateDatabase ( string databaseName,
string databaseFile )

Method to implement for a TempDB implementation. Will be given a database name and available temporary local file to use.

Parameters
databaseNameName of the required database
databaseFileA temporary file path which may be used as backing for the new database

Implemented in PeanutButter.TempDb.LocalDb.LocalDbFactory.


The documentation for this interface was generated from the following file:
  • source/TempDb/PeanutButter.TempDb.LocalDb/ILocalDbFactory.cs