This tag is for the ADO.
Just wanted to know more about RelatedTo attribute and I found out it has been replaced by ForeignKey and InverseProperty …
c# entity-framework-4.1 data-annotationsWhen using data annotations with EF4.1 RC is there an annotation to cause cascade deletes? public class Category { public int …
.net entity-framework entity-framework-4.1I'm using the database first implementation of Entity Framework Code First as the data layer for a project, but I've …
c# entity-framework-4.1How do I find which property of a class is the primary key of the Entity Framework Code First entity …
entity-framework-4.1 ef-code-firstI have been successfully using Entity Framework 4.1 with my Sql Server for quite a while now. The company is integrating …
visual-studio-2010 entity-framework-4.1 db2 dataproviderI will create two references between Employee and Team entities with foreign keys. So I defined two entities as follow …
c# mapping entity entity-framework-4.1 cascading-deletesI have created an entity class in my MVC 3 application. One of the attribute named RegistryId is primary key as …
entity-framework-4 ef-code-first entity-framework-4.1All my models contain at least two associations. When modeling this in ef4 I've only been able to do this …
c# entity-framework mapping ef-code-first entity-framework-4.1I give up. I found this: http://blogs.msdn.com/b/adonet/archive/2011/03/15/ef-4-1-model-amp-database-first-walkthrough.aspx And thought, that's …
.net entity-framework entity-framework-4.1 ef-code-first ef-model-firstThis is my code, very simple... var newUser = new User(); newUser.Id=id; newUser.Email = email; this.DataContext.Set<…
entity-framework-4.1 ef-code-first