NPersistence Reference Guide 
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
 Interface used to control transactions on resource-local entity
            managers.  The GetTransaction()()()() method returns the
            EntityTransaction interface.
            
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
 Syntax
Syntax
| C# | 
public interface EntityTransaction
 Members
Members
| All Members | Methods  | 
|  Public  Protected |  Instance  Static  |  Declared  Inherited |  XNA Framework Only   .NET Compact Framework Only  | 
| Member | Description | |
|---|---|---|
|  | Begin()()()() | 
            Start a resource transaction.  | 
|  | Commit()()()() | 
            Commit the current resource transaction, writing any 
            unflushed changes to the database. | 
|  | GetRollbackOnly()()()() | 
            Determine whether the current resource transaction has been 
            marked for rollback.
             Return Valueboolean indicating whether the transaction has been marked for rollback | 
|  | IsActive()()()() | 
            Indicate whether a resource transaction is in progress. | 
|  | Rollback()()()() | 
            Roll back the current resource transaction.  | 
|  | SetRollbackOnly()()()() | 
            Mark the current resource transaction so that the only 
            possible outcome of the transaction is for the transaction 
            to be rolled back.  | 

























