The following tables list the members exposed by UnitOfWork.
Name | Description | |
---|---|---|
![]() | UnitOfWork Constructor | Creates a new unit of work. |
Name | Description | |
---|---|---|
![]() | EntityManager | Returns the EntityManager used by this unit of work. |
Name | Description | |
---|---|---|
![]() | Clear | Resets the UnitOfWork to its initial state. |
![]() | CommitAsync | Commits all pending changes to the underlying data source. |
![]() | HasChanges | Returns true if the unit of work contains pending changes. |
![]() | HasEntity | Returns true if the provided entity is attached to the current UnitOfWork's EntityManager. |
![]() | Rollback | Rolls back all pending changes. |
Name | Description | |
---|---|---|
![]() | EntityChanged | Fired whenever an entity associated with the current unit of work has changed in any significant manner. |