repository-pattern
DDD - Access repositories from entities, bis
I\'ve asked a previous question last month, about whether an Entity should access a Repository, and although it looks like most people think they shouldn\'t, I have to admit it\'s hard for me to get c[详细]
2023-04-02 07:58 分类:问答Unit test EF Repository pattern with Moq
I decided to start writing unit tests in our application. It uses Entity Framework with a repository pattern.[详细]
2023-04-01 07:16 分类:问答Unity implementation of the cachedrepository pattern
I am trying to implement the pattern as described here http://stevesmithblog.com/blog/building-a-cachedrepository-via-strategy-pattern/ but using unity (the example uses StructureMap)[详细]
2023-04-01 01:58 分类:问答Repository Pattern Books
I would like to know a good introducing book for Repository Pattern using Entity F开发者_如何学运维ramework.[详细]
2023-03-31 11:20 分类:问答Where clause to related entity
I have a generic repository pattern and I\'m trying to load a collection of Agencies based the FkApplicationId and if it IsEnabled == true[详细]
2023-03-30 14:00 分类:问答TDD problem in ASP.NET MVC3 (with DI)
I am attempting to write some Tests for a small project of mine but they seem to fail (I am starting with 1 test \'Create_Class\')[详细]
2023-03-30 04:23 分类:问答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 分类:问答Entity Framework 4 Unit Testing and Mocking
I am very new to unit testing when it comes to databases and especially entity framework and I am now stuck. I am using NUnit to test and mock the entities used and am working using a generic reposit[详细]
2023-03-29 01:08 分类:问答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 handle parent and child entities in the repository pattern?
I\'m working on making a image site and I\'m wondering how I should structure the Create/Update methods in my Linq to Sql repository?[详细]
2023-03-28 08:02 分类:问答