I have 10 tables with the same design. Each of them have an IsActive colu开发者_开发知识库mn.
Say you have the following entities defined in a LINQ class: Product Customer Category Should I have one repository class for all:
I\'m running profiler tools on the LINQ-to-SQL data access layer. A lot of the time is spent on GetTable<clsName>() because it\'s being called each time i CRUD data.
I have a legacy database that my new application has to interact with. The old database is over-normalized and poorly designed in general. For instance, one object in my domain represents five tables
I have a repository accessing my Entity Framework.I have a method that looks like开发者_开发知识库 this:
I have been reading though the code of the NerdDinner app and specifically the Repository Pattern...
I used to use NHibernate with repository 开发者_开发知识库interfaces. What is the proper way to use this pattern with EF?
I have been scratching my head all morning behind this but still haven\'t been able to figure out what might be causing this.
I have a bunch of support Cases and Users. E开发者_如何学运维ach Case is assigned to a User with a unique ID. My data model represents this with an AssignedUser user ID reference. This is easy to stor
I am building a WPF application using the 开发者_如何学CPRISM guidance, I want to use the Entity Framework 4 for a data repository.