Entity Framework The official Microsoft object-relational mapper (ORM)
to easily retrieve and save your entities.

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(); }

Entity Framework FAQ

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 mistake:

Which 3rd party libraries?

A lot of third parties libraries is available. We recommend you to check 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?

A lot of examples will be soon available on .NET Fiddle. This feature is under development by our company (ZZZ Projects).

Trusted by thousands around the world!

More than 2000 satisfied customers spreaded across over 75 countries

We had a particularly large (500,000 entities) EF save operations that was taking 12 minutes, this is now down to 30 seconds.

Stewart Menday, Australia, New South Wales

That's really cool! I didn't actually expect you to build a new release in just a day, to be honest, but this is really awesome

Kimwan Ogot, USA, Minneapolis

I would absolutely recommend your product. It is simple, cheap, effective.


Your company requires some custom solution to extend Entity Framework with more features?

Contact us to learn about our consultation services:

You can also find some answers/ help if:

Stack Overflow Issue tracker