C# Class withSIX.Mini.Infra.Data.Services.DbContextFactory

Inheritance: IDbContextFactory, IInfrastructureService
Mostra file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
Create ( ) : IDbContextScope
DbContextFactory ( Lazy cache, Lazy settingsContext, Func apiContextCreator ) : System
SuppressAmbientContext ( ) : IDisposable

Method Details

Create() public method

public Create ( ) : IDbContextScope
return IDbContextScope

DbContextFactory() public method

public DbContextFactory ( Lazy cache, Lazy settingsContext, Func apiContextCreator ) : System
cache Lazy
settingsContext Lazy
apiContextCreator Func
return System

SuppressAmbientContext() public method

public SuppressAmbientContext ( ) : IDisposable
return IDisposable