BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter 1.0.2

.NET Standard 1.6 .NET Framework 4.5.2
There is a newer version of this package available.
See the version list below for details.
Install-Package BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter -Version 1.0.2
dotnet add package BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter --version 1.0.2
<PackageReference Include="BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter as a Cake Addin
#addin nuget:?package=BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter&version=1.0.2

// Install BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter as a Cake Tool
#tool nuget:?package=BenGribaudoLLC.IEnumerableHelpers.DataReaderAdapter&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Adds AsDataReader() & AsDataReaderOfObjects() to IEnumerable<T>, enabling IEnumerable<T> to be accessed as an IDataReader. Useful for loading data from a List<T>, LINQ expression or CSV parser into a database using SqlBulkCopy.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 5,193 8/31/2017
1.0.2 985 6/16/2017
1.0.1 881 6/16/2017
1.0.0 1,131 6/15/2017

.Net Standard 1.6's SqlBulkCopy.WriteToServer() does not work with IDataReader, limiting this package's usefulness on that platform. .Net Standard 2.0 should resolve this issue as it will add a SqlBulkCopy.WriteToServer overload that accepts IDataReader.