Entity Framework Core EF Core is a lightweight, extensible and cross-platform object-relational mapper (ORM) made by Microsoft.

(Documentation made by ZZZ Projects & .NET Community)

using (var ctx = new CustomerContext())
{
 List<Customer> customers = new List<Customer>();

 foreach(var line in lines)
 {
  var customer = new Customer();
  // ...code...

  customers.Add(customer);
 }

 ctx.Customers.AddRange(customers);

 ctx.SaveChanges();
}



What's Entity Framework Core?

Entity Framework is an ORM made by Microsoft. It allows performing CRUD operations without having to write SQL queries. It supports Code First, Database First, Stored Procedure, Transaction, etc.



Is Entity Framework Core Mature?

Starting from v2.x, we can say that Entity Framework Core is production ready. However, we still recommend using Entity Framework 6 that has been stable for years.



Which 3rd party libraries?

A lot of third parties libraries is available:



Do Entity Framework support Bulk Insert?

EF Core has improved insert performance but EFE still offer better performance: Entity Framework Extensions. It's a prime library that extend DbContext with all bulk operations.

Learn More


Where can I find more Entity Framework tutorials?

Here is a short list:



Where can I find Entity Framework examples?

Online examples are now available!

Online Examples