unit-of-work
What's the intent of the Rollback method in the Unit of Work pattern?
As I understand it, a UnitOfWork class is meant to represent the concept of a business transaction in the domain. It\'s not directly supposed to represent a database transaction, which is a detail of[详细]
2023-02-05 14:03 分类:问答EF4 - Repositories and Unit of Work
I\'ve been search开发者_如何学编程ing for the \'right\' way to integrate repositories and unit of work into my project, yet I keep running across different variations.Some have the repositories as mem[详细]
2023-02-02 18:19 分类:问答Where To Call UnitOfWork.Commit() In A Asp.Net MVC Application
Where should I call Commit() on my UnitOfWork in a Asp.Net MVC app? And still keep my controllers unit testable.[详细]
2023-01-30 19:27 分类:问答Should a Repository implement UnitOfWork?
In a DDD pattern should the unit of work be coupled with the repository? I\'ve seen several different examples, including a repository that implements a unit of work interface, a repository that imple[详细]
2023-01-30 19:13 分类:问答C# NHibernate architecture, three tier application
I need some advice how we can decouple nHibernate dependencies in the presentation layer. Currently we have a three tier C# winforms application consisting (simplified) of the following layers;[详细]
2023-01-30 00:28 分类:问答Design for multi-tenant app using SOA, UoW, Repository, DataContext & multiple databases
Let me start by apologizing for the length of this post but I wanted to provide as much detail as possible to increase the chance of an answer.Thanks in advance.[详细]
2023-01-28 10:49 分类:问答Asp.Net MVC UNitOfWork and MySQL and Sleeping Connections
I have a MVC web app that is based on the following architecture Asp.Net MVC2, Ninject, Fluent NHibernate, MySQL which uses a unit of work pattern.[详细]
2023-01-23 10:10 分类:问答ASP.NET MVC/EF: How should I handle navigation properties on a new Entity?
My particular application is an ASP.NET MVC app using Entity Framework. I have an object Entity0 which contains a reference (* to 1) to Entity1...[详细]
2023-01-18 07:13 分类:问答Appropriate lifecycle for repository classes using Castle Windsor
When I started with Windsor I thought DI would be simple. Now it\'s causing me more and more confusion.[详细]
2023-01-17 19:30 分类:问答Entity Framework with multiple edmx
Let\'s say I have in my database multiple db schema for example : HumanRessources and Inventory. In each of those schema contains multiple tables. Do you usually split your DB into multiple edmx or u[详细]
2023-01-16 19:08 分类:问答
加载中,请稍侯......