IUnitOfWorkCore Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IUnitOfWorkCore type exposes the following members.
Name | Description | |
---|---|---|
AddForDelete |
Adds the passed in entity for deletion.
| |
AddForSave(IEntityCore) |
Adds the passed in entity for saving. No refetching will be applied. Save is recursive.
| |
AddForSave(IEntityCore, Boolean) |
Adds the passed in entity for saving. No refetching will be applied. Save is recursive.
| |
Commit(ITransactionController) |
Commits this unit of work. It will first add all entities in the added collections to the correct bins, then it will start
by first inserting all new entities, then saving all updates and then performing the deletes. This order can be controlled by the
constructor of the unit of work which allows users to define a different work order.
| |
Commit(ITransactionController, Boolean) |
Commits this unit of work. It will first add all entities in the added collections to the correct bins, then it will start
by first inserting all new entities, then saving all updates and then performing the deletes. This order can be controlled by the
constructor of the unit of work which allows users to define a different work order.
| |
Reset |
Resets the inner contents of this Unit of work object
|