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(); }
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 Entity Framework tutorials?

From this websites! But you can find more:



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

Consulting

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

Contact us to learn about our consultation services:
info@zzzprojects.com

You can also find some answers/help on:

Stack Overflow Issue tracker