IUnitOfWork Methods
The IUnitOfWork interface represents the Unit Of Work pattern such that it can be used to query from a database and group together changes that will then be written back to the store as a unit.Name | Description |
---|---|
HasChanges() | Checks if the unit of work is tracking any new, deleted, or changed entities or relationships that will be sent to the store if IUnitOfWork.SaveChanges is called. |
SaveChanges() | Saves all changes made in this unit of work to the underlying store. |
See Also