C# Class Database.DataContextFactory

Afficher le fichier Open project: bouvet/BBR2015 Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ) : DataContext
DataContextFactory ( OverridableSettings appSettings ) : System
DeleteAllData ( ) : void

DANGER ZONE Though useful to run in setup of end-to-end tests in transaction scope - but remember rollback!

Method Details

Create() public méthode

public Create ( ) : DataContext
Résultat DataContext

DataContextFactory() public méthode

public DataContextFactory ( OverridableSettings appSettings ) : System
appSettings OverridableSettings
Résultat System

DeleteAllData() public méthode

DANGER ZONE Though useful to run in setup of end-to-end tests in transaction scope - but remember rollback!
public DeleteAllData ( ) : void
Résultat void