repository-pattern
Ninject Dynamically Loading a Repository from an Assembly
I\'m using: EF 4.1 MVC 3 Ninject Ninject.Extensions.Conventions Ninject.Web.Mvc The app uses the repository pattern.[详细]
2023-03-08 16:08 分类:问答Generics and LINQ to XML
I am having a go at creating a generic xmlRepository where I can pass in any type and get a list back.[详细]
2023-03-08 08:09 分类:问答Strategies for replacing legacy data layer with Entity framework and POCO classes
We are using .net C# 4.0, VS 2010, EF 4.1 and legacy code in this project we are working on. I\'m working on a win form project where I have made a decision to start using entity framework 4.1 for ac[详细]
2023-03-07 17:30 分类:问答Entity Framework, LINQ and Generics
I have the following code: public interface IKeyed<TKey> { TKey Id { get; } } // This is the entity framework generated model. I have added the[详细]
2023-03-07 04:13 分类:问答Repository + UnitOfWork pattern for entity framework
I was searching the net up and down and I didn\'t manage to find a suitable design for my application.[详细]
2023-03-06 19:24 分类:问答Using the repository pattern to support multiple providers
Well, not sure if that\'s exactly the right title, but basically I have been having a lot of problems using repositories in MVC applications in such a way that you can substitute one set of repositori[详细]
2023-03-06 17:19 分类:问答Repository/Unit of Work pattern - How to query a repository for objects meeting certain criteria?
I have a standard repository interface in C# which includes the following methods: IEnumerable<T> GetAll();[详细]
2023-03-06 08:54 分类:问答How do I handle table relationships with the repository pattern?
I\'m implementing the repository pattern as part of an ASP.NET MVC site. Most examples I\'ve seen of repositories are fairly simple. For example here\'s a typical abstract repository interface.[详细]
2023-03-05 11:11 分类:问答Is this a correct way to implement docking line style branching pattern in mercurial?
We are thinking in implementing Docking Line branching pattern for merging one feature at a time into the staging branch and then, if testing is successful integrating into an stable branch and making[详细]
2023-03-05 10:35 分类:问答I have an API that returns items, so do I need a Service / Repository, another layer of extraction
I have an API (a DLL) which has various methods that return objects / collections of items. I would like to create a Web Service that would return items to the calling client.[详细]
2023-03-05 06:33 分类:问答