I am using EF6 and due to the low speed of AddRange() method I need to use BulkInsert. So I added the NuGet package of BulkInsert for
Ok, I had a same error couldnt find any answers online so had to look deep so here is what i figured:
When your entity has an inherited and the child entities if not defined as part of the DBSet it flags an error such kind, secondly, not sure why it expects the new DbContext with just the related entity used for bulkInsertions if there is any other entities out there it raises the same error.
So its the 2 cause so i had to fix these both, and running like an horse!!!
its worth trying, so give a try