Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / CodeFirst

CodeFirst

CodeFirst

Great Reads

by SlavaUtesinov
Implementation of "insert" repository with dynamic database table (re)creation, if it not exists. It is possible to specify which migrations will be used for that otherwise will be used default creation logic. Usage example - dynamic logging and archivation or manual table creation for some purposes
by Farhad Jabiyev
One of the most popular questions is whether there exists a method which will automatically decide whether to insert, update or delete entity in the Entity-Framework. Now it is possible with EntityGraphOperations library.
by Nils Paluch
This tip demonstrates how to use the buildin SQLite stack of Entity Framework 7 on desktop and mobile applications.
by Dukhabandhu Sahoo
Explore the Entity Framework Code First convention and configuration for creating primary key

Latest Articles

by SlavaUtesinov
Implementation of "insert" repository with dynamic database table (re)creation, if it not exists. It is possible to specify which migrations will be used for that otherwise will be used default creation logic. Usage example - dynamic logging and archivation or manual table creation for some purposes
by Farhad Jabiyev
One of the most popular questions is whether there exists a method which will automatically decide whether to insert, update or delete entity in the Entity-Framework. Now it is possible with EntityGraphOperations library.
by Nils Paluch
This tip demonstrates how to use the buildin SQLite stack of Entity Framework 7 on desktop and mobile applications.
by Dukhabandhu Sahoo
Explore the Entity Framework Code First convention and configuration for creating primary key

All Articles

Sort by Score

CodeFirst 

by SlavaUtesinov
Implementation of "insert" repository with dynamic database table (re)creation, if it not exists. It is possible to specify which migrations will be used for that otherwise will be used default creation logic. Usage example - dynamic logging and archivation or manual table creation for some purposes
by Farhad Jabiyev
One of the most popular questions is whether there exists a method which will automatically decide whether to insert, update or delete entity in the Entity-Framework. Now it is possible with EntityGraphOperations library.
by Dukhabandhu Sahoo
Explore the Entity Framework Code First convention and configuration for creating primary key
by Kelum Priyadarshane
This project developed using combination of Entity Framework 6.0 + Code First Approach + Web API 2 + Repository Pattern + ASP.NET MVC 5 + SQL Server 2012 + Unit of Work Testing + Bootstrap.
by Emiliano Musso
In this article, we will see how to use entity framework in our Applications, developed through the various languages that Visual Studio allows us to use. The examples in this article and probably in the next, will be C # used under WinForms, but - as mentioned - this choice is not going to affect a
by DiponRoy
How to manage Entity Framework Code First in Real Time Projects
by Logan head
First part to the three part series of articles describing how to create a information system where teachers can manage there students and classes. This tutorial will go in depth on using MVC's Code First approach and touch on using MvcScaffolding in the Nuget Package Console.
by DiponRoy
Here, we will see how to configure one to zero/one relation between two entities in Entity Framework Code First
by Omar Al Zabir
An example Web application showcasing the amazing features of ASP.NET MVC, WebAPI, EF together with ESB to build a secure, reliable, REST based web api, and web frontend.
by Manprit Singh Sahota
This article is about connecting entity framework code first approach and user defined table type function.
by Shahriar Iqbal Chowdhury/Galib
ASP.NET MVC model binding approaches, fundamental ideas, advantages, and validating models.