namespace: Serenity.Data assembly: Serenity.Net.Data
An interface to implement unit of work pattern, e.g. a transaction.
public interface IUnitOfWork
name | description |
---|---|
Connection { get; } | Gets the connection. |
event OnCommit | Occurs when transaction is committed. |
event OnRollback | Occurs when transaction is rolled back. |
- Source: IUnitOfWork.cs