[ToolboxTabName("DX.19.2: ORM Components")]
public class UnitOfWork :
<ToolboxTabName("DX.19.2: ORM Components")>
Public Class UnitOfWork
A unit of work maintains a list of persistent objects that are affected by a transaction. It keeps track of every change to every persistent object during a transaction that can affect a data store. With a single call to the UnitOfWork.CommitChanges method, all the changes made to persistent objects are automatically saved to a data store. While working with common sessions, you need to save each persistent object individually. The only requirement for this is that the property setters call the XPBaseObject.OnChanged method.