This tag is for the ADO.
I have a entity class public class Employee { public long Id { get; set; } public string Name { get; set; } } I have …
c# .net ef-code-first entity-framework-4.1I am having the exception Conflicting changes to the role x of the relationship y have been detected. Every time …
c# asp.net-mvc entity-framework entity-framework-4.1 ef-code-firstBasically, I insert 35000 objects within one transaction: using(var uow = new MyContext()){ for(int i = 1; i < 35000; i++) { var o = …
c# entity-framework entity-framework-4.1I'm trying to set up a many to many relationship in EF code first but the default conventions is getting …
c# entity-framework-4.1 ef-code-first associationsI would like to know how to delete an object from Entity Framework 4.1 without first having to load the object …
.net entity-framework entity-framework-4.1Hi I am just learning to work with Entity Framework Code First and I can not seem to understand something.…
c# entity-framework entity-framework-4.1I'm using Entity Framework 4.1 database first approach. I've used legacy database. In my edmx file which created entity classes based …
sql-server sql-server-2008 entity-framework-4.1 entity-relationship relationI would like know what is the best possible way to implement transactions with DBContext. In particular, Does DbContext.SaveChanges …
entity-framework transactions entity-framework-4.1 dbcontextI'm using asp .net mvc 3, and I have a problem with an entity that contains 2 primary key, when I try …
sql-server-2005 asp.net-mvc-3 entity-framework-4.1Apologies if this has already been answered, but how do you guarantee one Entity Framework DbContext per request if you …
asp.net-mvc entity-framework asp.net-mvc-3 entity-framework-4.1 ef-code-first