I\'m writing an app that we may be switching out the repository later (currently entity framework) to use either amazon or windows azure storage.
I\'m trying to implement a Generic Repository. This is what I\'ve got so far ... public interface IRepositoryFactory
I\'m using the repository pattern. I have a Country repository that I\'m using a service to submit. Where should I put the check to see if the country al开发者_开发知识库ready exists in the database,
the more I explore DDD and repositories, the more I feel myself drawn to a domain services approach instead.
In my attempt to keep with a good Repository/IoC Design, I am trying to figure out the best approach the current problem.
I need some help in understanding this issue. I\'m using the repository pattern with ActiveRecordMediator. I\'ve enabled the session scope http
i think that below codes is very useful. But i try to create EntityKEy. i used: EntityKey key = new EntityKey(entitySet开发者_开发知识库KEYName, \"XTableId\", id);
I am finding difficult to test EntityFramework 4 .I am using it using the database first approach,too late now to move to poco.Needed to deliver pretty quickly,no time to learn properly as usual.
I\'m still on my eternal quest to build (and understand) modern programming convention of decoupling, IoC, DI, etc. I\'m to the part where I am trying to figure out how to build a repository. I\'ve ex
I\'ve implemented the specification pattern with Linq as outlined here https://www.packtpub.com/article/nhibernate-3-using-linq-specifications-data-access-layer