Click here to Skip to main content
13,054,779 members (73,914 online)
Click here to Skip to main content


23 bookmarked
Posted 24 Jan 2012

EF Code First: Add a Foreign Key relationship

, 24 Jan 2012
Shows how to add foreign key constraints using Entity Framework Code First.



Compare Revision Minor Date Status Editor
1 - publicly available No 24-Jan-12 6:36 Available Smitha Nishant


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Nadege Rouelle
France France
I'm coding in .Net since 9 years, most with ASP.Net and SharePoint and a little using WPF, MVC, Windows Phone 8 and WinRT technology.
I have learned so much reading others experience and tutorials, or tips so I try to do the same, keeping learning from others of course.
You can also find my blog here :

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Jan 2012
Article Copyright 2012 by Nadege Rouelle
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid