Skip to content

Demo on doing a simple bulk insert with Entity Framework

License

Notifications You must be signed in to change notification settings

ragyaiddo/Ef.BulkInsert

Repository files navigation

Ef.BulkInsert

This is a project to demonstrate how to do bulk inserts with EntityFramework using the SqlBulkCopy class. This is inspired by this blog post on using SqlBulkCopy for high performance querying.

Core to this solution is the custom implementation of the IDataReader interface. Mike Goatley has a very detailed explanation in implementing such custom IDataReader implementation here; which I copied most of the code.

I also referred to this EntityFramework.BulkInsert repository on how it's implemented as an extension.

About

Demo on doing a simple bulk insert with Entity Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages