C# Class TokenAuthentication.Infrastructure.Database.DatabaseFactory

Inheritance: IDatabaseFactory
Exibir arquivo Open project: bytefish/NancyOwinExample

Public Methods

Method Description
DatabaseFactory ( IConnectionStringProvider connectionStringProvider, IMappingProvider mappingProvider ) : NPoco
GetDatabase ( ) : IDatabase

Method Details

DatabaseFactory() public method

public DatabaseFactory ( IConnectionStringProvider connectionStringProvider, IMappingProvider mappingProvider ) : NPoco
connectionStringProvider IConnectionStringProvider
mappingProvider IMappingProvider
return NPoco

GetDatabase() public method

public GetDatabase ( ) : IDatabase
return IDatabase