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

Inheritance: IUnitOfWork
Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
AddTransactionCallback ( System.Action act ) : void
AddTransactionCallback ( Func act ) : void
SaveChanges ( ) : Task

Protected Methods

Method Description
SaveChangesInternal ( ) : Task

Private Methods

Method Description
ExecuteTransactionCallbacks ( ) : System.Threading.Tasks.Task
ExecuteTransactionCallbacksInternal ( System.Action callbacks, Func asyncCallbacks ) : System.Threading.Tasks.Task
RaiseEvents ( ) : System.Threading.Tasks.Task

Method Details

AddTransactionCallback() public method

public AddTransactionCallback ( System.Action act ) : void
act System.Action
return void

AddTransactionCallback() public method

public AddTransactionCallback ( Func act ) : void
act Func
return void

SaveChanges() public method

public SaveChanges ( ) : Task
return Task

SaveChangesInternal() protected abstract method

protected abstract SaveChangesInternal ( ) : Task
return Task