Unit of Work pattern and persistence
Posted
by Mosh
on Stack Overflow
See other posts from Stack Overflow
or by Mosh
Published on 2010-04-29T03:15:06Z
Indexed on
2010/04/29
3:27 UTC
Read the original article
Hit count: 357
unitofworkapplication
|unit-of-work
Hello,
I have been reading about Unit of Work pattern but I am confused about how the UoW actually persists data.
When we commit the changes, UoW should iterate through the list of Added, Updated and Deleted objects and somehow find a class responsible to Add, Update, Delete objects of a certain type.
I couldn't find an example showing this technique.
Any advice on this would be greatly appreciated.
Mosh
© Stack Overflow or respective owner