repository-pattern
Confused about Spring-Data DDD repository pattern
I don\'t know so much about DDD repository pattern but the implementation in Spring is confusion me. public interface PersonRepository extends JpaRepository<Person, Long> { … }[详细]
2023-03-05 03:04 分类:问答WCF / Service Layer / Repository Layer: Returning DTO from Service layer? And creating ViewModel in Controller from the DTO returned
I have a WCF Service, behind the WCF service is a Service layer (http://martinfowler.com/eaaCatalog/serviceLayer.html) and repository layer.[详细]
2023-03-04 20:13 分类:问答How do I wait for the results to be updated in RavenDB after DELETE
I am using repository pattern with Raven DB. My repository interface is public interface IRepository<T> where T : Entity[详细]
2023-03-03 02:48 分类:问答C# Domain Model + repository: Where to put code that loads an entity
I have a model class which is loaded from a \"GetById\" method in my repository class. I now need to add additional properties to this entity, which aren\'t saved in the database, but are calculated b[详细]
2023-03-03 01:34 分类:问答Problem building a custom object off an XML column/string using Entity Framework repository to POCO
I\'m using Entity Framework 4.0 within a repository pattern to populate my POCO objects which are in another assembly.One of my objects contains an XML column from the database (a string type on the c[详细]
2023-03-02 18:17 分类:问答Repository Pattern with mixed Logic
My ProductRepository has a method, lets say: GetAllCalculatedProducs(int categoryId) {} This method uses class Calculator to compute many values of the product. It looks just like this:[详细]
2023-03-02 02:46 分类:问答EF4 with MVC3 - Do I need The Repository Pattern?
I have recently learned of the Repository and Unit of Work Design Patterns and thought that I would implement them in a new EF4 MVC3 project, since abstraction is generally good.[详细]
2023-03-01 09:36 分类:问答need to figure out T of class Repository is for
I have class Repository, and based on T i want to create objectset for the type T..in my constructor...this is what i have so far..[详细]
2023-03-01 09:16 分类:问答Specific entity objects for Add and Update methods in a repository
I\'m trying to come up with a way to design a repository where adding and updating only accepts the exact amount of data/properties it can add/update.[详细]
2023-03-01 07:54 分类:问答How should my ASP.NET MVC Controllers be aware of the repository
I\'开发者_StackOverflowm trying to get my head around how one would unit test an ASP.NET MVC project that accesses data through a repository of some sort.[详细]
2023-03-01 02:39 分类:问答