Entity Framework Core DbContext Updated

added by DotNetKicks
11/10/2016 2:43:56 PM

1 Kicks, 430 Views

In previous versions of Entity Framework that include the DbContext (EF 4.1.1 onwards), data manipulation (create, update and delete) operations are performed against the relevant entity's DbSet property. In Entity Framework Core, these operations can now also be performed directly against the DbContext. The DbContext provides a couple of methods for adding data: Add and AddRange.