unit-of-work
Why are these two sql statements deadlocking? (Deadlock graph + details included)
I\'ve got the following deadlock graph that describes two sql statements that are deadlocking each other. I\'m just not sure how to analyse this problem and then fix up my sql code to prevent this fro[详细]
2022-12-24 02:34 分类:问答At which line in the following code should I commit my unit of work?
I have the following code which is in a transaction. I\'m not sure where/when I should be commiting my unit of work.[详细]
2022-12-23 16:53 分类:问答Unity framework - reusing instance
nobody loved my first question about this: Creating Entity Framework objects with Unity for Unit of Work/Repository pattern[详细]
2022-12-22 15:52 分类:问答Creating Entity Framework objects with Unity for Unit of Work/Repository pattern
I\'m trying to implement the Unit of Work/Repository pattern, as described here: http://blogs.msdn.com/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-fr开发者_如何学运[详细]
2022-12-22 03:27 分类:问答Using Entity Framework with repository pattern in WinForms MDI
We are about to start up a new project similar to a previous one. I could just copy the old design but I am not all too satisified with the old design.[详细]
2022-12-21 05:01 分类:问答Interaction between unit of work and repository patterns
Aft开发者_JS百科er reading thorugh plenty of articles I am still unsure about the responsibilities of Unit of Work pattern when interacting with repositories.[详细]
2022-12-17 07:56 分类:问答The unit of work pattern within a asp.net mvc application
I have been looking at this excellant blog titled \"NHibernate and the Unit of Work Pattern\" and have a question regarding the best place to use UnitOfWork.Start in a asp.net mvc project.[详细]
2022-12-15 06:48 分类:问答unit of work and session per request in nhibernate and asp.net mvc
I have been using the ncommon framework (http://code.google.com/p/ncommon/) with nhibernate and asp.net mvc. I really like the implementation of the unit of work pattern, but am having problems with l[详细]
2022-12-12 23:50 分类:问答Repository pattern with Linq to SQL using IoC, Dependency Injection, Unit of Work
There seems to be lots of examples on implementing Repository pattern for Linq to SQL. Most of them featuring IRepository and DI; Some have implemented Unit of Work and some not. I tried to read as mo[详细]
2022-12-09 05:07 分类:问答I'm going to write 'Unit of Work', please help me find out all gimmicks
I\'m going to write my own DAL in C#. I decided to use \'Unit of Work\' pattern (next mentioned as uow) with request as a scope and Identity map stored in HttpContext.Items.[详细]
2022-12-08 13:41 分类:问答