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 Nils Paluch
This tip demonstrates how to use the buildin SQLite stack of Entity Framework 7 on desktop and mobile applications.
by DiponRoy
How to handle database scheme changes with normal SQL scripts, without migration in Entity Framework code first
by DiponRoy
EF Core first publishing multiple DB contexts in same DB
by Nathan Minier
Generic AddOrUpdate for EF with composite key support