I have the following fake repository that I use for unit testing.How would I implement the Attach(T entity) method in this repository?
I am writing an EF4 datalayer for an MVC 2 web application and I need suggestions on choosing inherita开发者_运维技巧nce vs. abstract base classes. My repository has worked well following the \'generi
I\'ve been getting lots of connection pool timeouts in my ASP.NET MVC project. I\'ve been reading that even though Linq-to-SQL should be disposing for me it doesn\'t always work and also that not manu
How do Services and Repositories relate to each other in DDD? I mean, I\'ve been reading up on DDD for the past 2 days and everywhere I go, there\'s always a Service layer and there\'s always a Reposi
So I was searching the web looking for best practices when implementing the repository pattern with multiple data stores when I found my entire way of looking at the problem turned upside down.Here\'s
Yesterday I worked on a project where I upgraded to Entity Framework 4 with the Repository pattern. In one post, I have read that it is necessary to turn off the custom tool generator classes and then
i would like to implement the typical three layer architecture. My current approach looks as follows DAL - with EF 4.0 and repositories for each of my entities. access through interfaces
I use entity Framework 4. var entity = rep.GetEntityTxt<AreaTypeText>(PKey, LangID); _db.AttachTo(\"AreaTypeText\",entity);
Per a conversation with @Aaronaught on another thread, I\'ve started converting my application to use Dependency Injection and the Repository patterns, but I\'m a little stuck. I think I get most of t
I am using NHibernate and Repository patterns in my application. But not want to use UnitofWork pattern.