Click here to Skip to main content
11,790,021 members (39,142 online)
Click here to Skip to main content
Add your own
alternative version

EF Code First: Add a Foreign Key relationship

, 24 Jan 2012 CPOL 148.3K 19
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 12:36 Available Smitha Vijayan


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...

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