C# Class Noear.Weed.DbTran

Mostra file Open project: noear/Weed3 Class Usage Examples

Public Properties

Property Type Description
result Object

Public Methods

Method Description
DbTran ( DbContext context ) : System
db ( ) : DbContext
execute ( Action handler ) : DbTran
join ( DbTranQueue queue ) : DbTran

Private Methods

Method Description
begin ( bool isQueue ) : void
close ( bool isQueue ) : void
commit ( bool isQueue ) : void
rollback ( bool isQueue ) : void

Method Details

DbTran() public method

public DbTran ( DbContext context ) : System
context DbContext
return System

db() public method

public db ( ) : DbContext
return DbContext

execute() public method

public execute ( Action handler ) : DbTran
handler Action
return DbTran

join() public method

public join ( DbTranQueue queue ) : DbTran
queue DbTranQueue
return DbTran

Property Details

result public_oe property

public Object result
return Object