In SQL, I have a 1:1 relationship defined between 2 tables which are linked by 2 mapping tables, four in total. I have no influence on the database schema.
Is it possible to refactor following query so i.Title.Contains(query) || i.Description.Contains(query) is there only once while staying within single query (no subqueries开发者_StackOverflow) in the r
I am using Ef 4.1 code first. I am getting the follwing error and not sure what I am doing wrong: An 开发者_运维问答error occurred while saving entities that do not expose foreign key properties for
I have set of entities with some level of inheritance. abstract class A { ... } class B: A //Non abstract B
I use WCF DataSerice and EF4.1 code-first (C#). I have 2 entities: 1. Person 2. User inherited from Person c开发者_如何转开发lass
I\'m having a small problem with ASP.NET MVC and Entity Framework 4. I have an entity called \"UF\" and another one called \"Pais\", and they have this relation:
I would like to know how to delete an object from Entity Framework 4.1 without first having to load the object from the database. I have found these other 2 answers on Stack Overflow, but they do not
I have a web application with: 1 Terabyte DB 200+ tables At least 50 tables with 1+ million records each
The answers I\'m seeing here are for ObjectContext. Is there a property to determine an entity\'s primary key names when using DbContext?
I am using Entity Framework 4.1 code first with no stored procedures.And I would like to know a general opinion on the performance of this on huge applications seeing that it generates the SQL in the