C# Class Thriot.Framework.Sql.UnitOfWork

Inheritance: IUnitOfWork
Mostra file Open project: kpocza/thriot

Protected Properties

Property Type Description
DbContext DbContext

Public Methods

Method Description
Commit ( ) : void
CommitAsync ( ) : Task
Dispose ( ) : void
Setup ( string connectionString, string providerName ) : void

Protected Methods

Method Description
GetDbContext ( string connectionString, string providerName ) : DbContext

Method Details

Commit() public method

public Commit ( ) : void
return void

CommitAsync() public method

public CommitAsync ( ) : Task
return Task

Dispose() public method

public Dispose ( ) : void
return void

GetDbContext() protected abstract method

protected abstract GetDbContext ( string connectionString, string providerName ) : DbContext
connectionString string
providerName string
return DbContext

Setup() public method

public Setup ( string connectionString, string providerName ) : void
connectionString string
providerName string
return void

Property Details

DbContext protected_oe property

protected DbContext DbContext
return DbContext