C# Class Castle.Facilities.NHibernateIntegration.Internal.ResourceAdapter

Adapter to IResource so a NHibernate transaction can be enlisted within Castle.Services.Transaction.ITransaction instances.
Inheritance: IResource, IDisposable
Mostrar archivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Commit ( ) : void
ResourceAdapter ( NHibernate.ITransaction transaction ) : Castle.Services.Transaction
Rollback ( ) : void
Start ( ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

ResourceAdapter() public method

public ResourceAdapter ( NHibernate.ITransaction transaction ) : Castle.Services.Transaction
transaction NHibernate.ITransaction
return Castle.Services.Transaction

Rollback() public method

public Rollback ( ) : void
return void

Start() public method

public Start ( ) : void
return void