Search code examples
databaseentity-frameworkbulkinsertdbcontextef-bulkinsert

EntityFramework.BulkInsert: context does not contain a definition for BulkSaveChanges


I'm using EF 6.1.3 and installed EntityFramework.BulkInsert-ef6.

context.BulkSaveChanges();

gives me an error

context does not contain a definition for BulkSaveChanges

I'm forgetting a configuration? Reading https://entityframework-extensions.net/bulk-savechanges I cannot figure it out


Solution

  • You are using the wrong package.

    See download link here: https://entityframework-extensions.net/download

    You want to Z.EntityFramework.Extensions package: https://www.nuget.org/packages/Z.EntityFramework.Extensions/