Skip to content

IUnitOfWork interface

namespace: Serenity.Data   assemblySerenity.Net.Services

An interface to implement the unit of work pattern, e.g. a transaction.

public interface IUnitOfWork

Members

name description
Connection { get; } Gets the connection.
event OnCommit Occurs when the transaction is committed.
event OnRollback Occurs when the transaction is rolled back.

See Also