Top "Entity-framework-4.1" questions

This tag is for the ADO.

Entity Framework 4.1 InverseProperty Attribute

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-annotations
Can I use Data Annotations to perform a Cascade Delete with Entity Framework 4.1 RC?

When 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.1
Setting a foreign key to null when using entity framework code first

I'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.1
Entity Framework code first. Find primary key

How 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-first
How do I download the DB2 Data Server Provider 9.7 for .Net?

I 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 dataprovider
Entity Framework 4.1 InverseProperty Attribute and ForeignKey

I 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-deletes
Primary /Foreign Key in Entity Framework

I 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.1
Navigation Property without Declaring Foreign Key

All 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.1
Model First with DbContext, Fails to initialize new DataBase

I 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-first
Code first - Cannot insert the value NULL into column 'Id'

This 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