repository-pattern
At what point do you decide you should create a new Repository?
Say you have these two classes. public class Author { public int ID {get; set;} public string Name{get; set;}[详细]
2023-03-23 13:49 分类:问答Recommended IRepository and IRepository<T> interface in C#
I am looking for a simple IRepository interface for my mvc web application, I have done a lot of searching a开发者_如何转开发round, and there are as many opinions as there are people.[详细]
2023-03-22 16:21 分类:问答Repositories and getting new values for an aggregate entities / value objects
I\'m just starting out with DDD and have built a repository pattern using EF code first which so far is working very well. Now say I have an aggregate root call Animal which has an entity called Statu[详细]
2023-03-22 07:59 分类:问答Can an Entity access a Repository?
Say I\'ve got two simple entities: User and Review. How bad is it if User calls the Review repository? What is the \"clean\" way for the User to get its Reviews?[详细]
2023-03-22 02:29 分类:问答Is this correct domain model?
I have searched in my books and in the Internet answer to my question but I didn\'t finded. Maybe you could help me.[详细]
2023-03-20 13:40 分类:问答Asp.Net MVC3 adding search functionality
I am trying to implement search functionality on a list of customers, the functionality is detailed in this tutorial on the Asp.Net site,[详细]
2023-03-20 12:33 分类:问答Exception handling in entity framework, MVC with repository pattern
I am using entity framework for my project with MVC as front end and I have implemented unit of work pattern with repository pattern.[详细]
2023-03-19 04:54 分类:问答User roles and authorization
So I want to create a login page where when you enter your login credentials as a admin you get acces. If you are not a admin you get redirected back to the login page. In my database I have a field o[详细]
2023-03-18 09:46 分类:问答DDD: Repositories calling Application Services
This forms part of a series based around me getting my head around DDD :) Following on from a previous question, but the background knowledge is not needed: System consuming WCF services from another[详细]
2023-03-17 11:30 分类:问答Repository Pattern - aggregate root
I am trying to get my head around where the aggrega开发者_开发百科tes roots lie in my entity framework data model so I know what repositories I need to create.[详细]
2023-03-16 18:24 分类:问答