I use entity framework 4.1 code first. And I have classic sample: Order and OrderLines. Each OrderLine has its own price and I\'d like to have property TotalPrice on Order.
I am using code first and have a many-to-many开发者_开发百科 relationship between Book Titles and Categories.What is the best way to seed the data during development?If I add two books in the same cat
The examples for System.Data.Entity.Database.SqlQuery method I\'ve found appear to work well with SQL 2008 R2 but do not appear to work with SQL 2005.
Ok, this seemed simple, but is making my head 开发者_StackOverflowspin. I have created models based on CodeFirst.
This is my first foray in either SQL CE or EF, so I may have a lot of misunderstandings. I\'ve searched a lot of blog entries but still can\'t seem to get this right.
I\'m trying to model a self-referencing Many-to-Many relationship between Employees and Managers using EF code first (where manag开发者_开发百科ers are employees). On top of keeping track of which man
I am having this kind of \"mysterious\" issue here. I am currently using Entity Framework 4.1 Code First approach with my ASP.NET MVC 3 application, it worked great, until yesterday...
I have a User that can have collection of users he likes... Another user can have collection of users he likes....
Using the code first method in Entity, is it possible to establish multiple relationships tied to a single foreign key?
I\'ve \"inherited\" an EF 4.0 .edmx file. Currently a given property name and column name are identical in the generated C# and SQL schema. I\'ve since upgraded to EF 4.1, and changed the code generat