开发者

Unit of Work pattern and persistence

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, Up开发者_如何学编程dated 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜