Follow me to learn what is Unit of Work pattern
摘要:A Unit of Work is a combination of several actions that will be grouped into a transaction. This means that all actions inside a unit of work are committed or rolled back. The advantage of using a unit of work is that multiple save actions to multiple repositories can be grouped as a unit.
阅读全文
posted @
2013-08-30 14:33
min.jiang
阅读(773)
推荐(0) 编辑
Follow me to learn what is repository pattern
摘要:this article will focus on repository pattern and shows how to design repository interface when there could be a possibility of creating more than one repository class. To overcome this possibility and overhead, we make a generic repository class for all other repositories.
阅读全文
posted @
2013-08-29 10:45
min.jiang
阅读(946)
推荐(0) 编辑
Follow me to learn how to use mvc template
摘要:Now that we know mvc project architecture and mvc request pipeline, in the next part of the series we will talk about how to use expression tree to accomplish dynamic condition search
阅读全文
posted @
2013-08-28 09:56
min.jiang
阅读(689)
推荐(0) 编辑