unit-of-work
ASP.Net MVC 3 - unitOfWork.Commit() not saving anything
I created a web application using ASP.Net MVC 3 and EF 4.1, and I am using the UnitOfWork pattern, but nothing is getting committed to the database. All this is quite new to me, and I don\'t know wher[详细]
2023-04-01 06:02 分类:问答Entity With EntityState.Added Not Returned In IRepository<T>.FindAll()
I\'m working on a small application that lets users create a list of words and the user is able to provide a name for the list. I setup the program to take advantage of the Unit of Work pattern. I wan[详细]
2023-03-29 19:30 分类:问答Need a simple example of using nhibernate + unit of work + repository pattern + service layer + ninject
I am using nhibernate + fluent nhibernate asp.net mvc 3 ninject Currently I am using nhibernate, ninject with the repository pattern and service layers.[详细]
2023-03-28 21:50 分类:问答How should you use UnitofWork pattern on my asp.net-mvc site (using nhibernate and ninject)
i have followed the pattern on this site to hook up ninject and nhibernate to my asp.net-mvc3 site. Here is the code in my global.aspx.cs:[详细]
2023-03-26 03:44 分类:问答ASP.NET MVC - Unit Of Work vs Session
Here at company we have several projects using ASP.Net MVC, jQuery, LinqToSql and StructureMap . Suppose I have this situation: A Company edit page. This page has 2 tabs: Details and Employees. Deta[详细]
2023-03-25 20:08 分类:问答Repository vs. UnitOfWork [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-03-25 16:49 分类:问答Repositories, UnitOfWork and Unity
Using Unity when I \'new up\' an object that requires dependencies i.e. Repositories, UnitOfWork all is great, my new object gets the dependencies injected and the \'newed\' up object has control over[详细]
2023-03-25 15:20 分类:问答Getting newly added entities from ObjectContext before saving changes
OK, I read these: EntityFramework show entities before saving changes Where added objects are stored in ObjectContext?[详细]
2023-03-25 11:08 分类:问答Help with EF Code first connection string
Im trying to implement a UnitofWork pattern using this Scott Allen tutorial My current SqlUnitOfWork is the folowing[详细]
2023-03-25 07:15 分类:问答Reusable Querying in Entity Framework WITHOUT Repository. How?
Let me say, I have come to the conclusion (after a lot of trial) that Repository & Unit of Work when using Entity Framework is just wrong, wrong, wrong and this says why quite well.[详细]
2023-03-25 05:14 分类:问答