Click here to Skip to main content
15,881,204 members
Articles / Database Development / SQL Server / SQL Server 2008R2

Create Primary Key using Entity Framework Code First

Rate me:
Please Sign up or sign in to vote.
4.92/5 (25 votes)
4 Sep 2014CPOL9 min read 210.7K   1.1K   33  
Explore the Entity Framework Code First convention and configuration for creating primary key

Views

Daily Counts

Downloads

Weekly Counts

License

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


Written By
Software Developer (Senior)
India India
I have developed web applications using ASP.NET Web Forms, MVC, Web API, Entity Framework, SQL Server, LINQ, C#, jQuery, BootStrap UI and few other related libraries and tools.

Apart from programming, I love to watch cricket matches.

Comments and Discussions