Until now I have used the Model class to embed list of related values to render as 开发者_StackOverflow社区DropDownList in the view. For example, suppose I have a Contact model class that has a Contac
I am writing a project in MVC and am using EF 4.0. I am using the repository pattern but am unsure about where to place some properties.
We have a Persons table which stores different types of persons (Buyer, Seller, Agent, etc).Our ORM is Entity Fra开发者_StackOverflow社区mework CodeFirst (CTP5).We\'re using the repository pattern for
I am using mercurial and I am wondering how to do the following. Here is my repository architecture :
I am working on a small ASP.NET MVC project at the moment. I am trying to implement Nhibernate to persist on a MS Sql Server database.
i am using EF4 and StructureMap in an asp.net web application. I am using the repository/unit of work patterns as detailed开发者_如何转开发 in this post. In the code, there is a line that delegates th
I have a table named \"Case\" and therefore also an object named \"Case\". I also got a table named \"CaseReplies\" which has many-to-one relationship with the \"Case\" table - the \"CaseReplies\" tab
I am trying to use the repository pattern, ninject for DI with fluent nhibernate. I broken up my solution into 3 projects
I have 3 project files webui - controllers and views framework - service layer and repos tests- unit tests
I\'m trying to roll out a strategy pattern with entity framework and the repository pattern using a simple example such as User and Post in which a user has many posts.