unit-of-work
What's a good way to handle entities within an aggregate that persist to multiple databases
I\'m dealing with a design problem that I\'m sure has a simple answer and/or has been solved before. I\'ve been reading, thinking, and searching for solutions for quite a while, but nothing seems to r[详细]
2023-01-12 13:27 分类:问答Repositories and Units of Work - which is responsible for what?
Over the past week or so I have been reading a lot of articles and tutorials regarding the repository pattern. A lot of the articles closely tie the repository pattern to the unit 开发者_JS百科of work[详细]
2023-01-06 07:16 分类:问答Unit of Work pattern, getters, setters and contracts (PHP)
I\'m not sure if the title is the best way to describe this question. This book - http://apress.com/book/view/9781590599099 - illustrates an implementation of the Unit of Work pattern. It goes a litt[详细]
2023-01-06 04:51 分类:问答How to get list of changed (dirty) entities from Nhibernate session?
I need to write some business logic rigt before flush against all changed entities. One of the solution I\'ve tried is IPreUpdateEventListener. But this event listener already have obje开发者_JS百科ct[详细]
2023-01-04 19:52 分类:问答Is it possible to implement Separated Interface in PHP?
I recently asked a question regarding the resolution of dependencies between Unit of Work and Data Mapper classes: Dependency Injection and Unit of Work pattern - (which was answered by Gabor de Mooij[详细]
2023-01-03 16:20 分类:问答How do I implement repository pattern and unit of work when dealing with multiple data stores?
I have a unique situation where I am building a DDD based system that needs to access both Active Directory and a SQL database as persistence. Initially this wasnt a problem because our design was set[详细]
2023-01-01 07:00 分类:问答NHibernateUnitOfWork + ASP.Net MVC
I\'m in my first time with DDD, so I\'m begginer! So, let\'s take it\'s very simple :D I developed an application using asp.net mvc 2 , ddd and nhibernate. I have a domain model in a class library, my[详细]
2022-12-31 06:18 分类:问答What is the meaning of "Unit of Work" concept in NHibernate and other ORMs?
What is the meaning of \"Unit of Work\" concept 开发者_Go百科in NHibernate and other ORMs?It is explained very well in this blog post.[详细]
2022-12-31 02:34 分类:问答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.[详细]
2022-12-28 08:08 分类:问答Using Unit of Work design pattern / NHibernate Sessions in an MVVM WPF
I think I am stuck in the paralysis of analysis. Please help! I currently have a project that Uses NHibernate on SQLite[详细]
2022-12-26 18:54 分类:问答