Entity Framework EF6 is an object-relational mapper (ORM) made by Microsoft
to easily retrieve and save your entities

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




What's Entity Framework?

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.

Why is Entity Framework slow?

Entity Framework performance can often be improved by avoiding some common mistakes:

Which 3rd party libraries?

A lot of third party libraries are available. We recommend you to check the libraries we support:

Do Entity Framework support Bulk Insert?

No, but a third-party library does: 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