This project has moved and is read-only. For the latest updates, please go here.

NuGet version (EF6) not up-to-date with source codes

Mar 11, 2015 at 4:39 PM
Hello!

NuGet-version http://www.nuget.org/packages/EntityFramework.BulkInsert-ef6/
is not up-to-date with source-codes of this site.

In the NuGet-version there is a thread-safety-issue in the providers array, causing null-reference-exceptions while using this in multiple concurrent threads.
Mar 11, 2015 at 8:07 PM
Also I noticed that
MappedDataReader(IEnumerable<T> enumerable, IEfBulkInsertProvider provider) 
constructor logics should be inside lock { ... } because it uses non-thread-safe EntityFramework.MappingAPI extension.
Otherwise there will be null-reference-exceptions when multiple threads use BulkInsert at the same time.