A library for easy, efficient and high performance bulk insert and update of data, into a Sql Database, from C# applications by leveraging the power of the C# SqlBulkCopy classes with added support for Identity primary key table columns. Offerring compabitility with .NetStandard 2.0 to support .Net Core 2.0+ & .Net Framework 4.7.2+.
Install-Package SqlBulkHelpers -Version 22.214.171.124
dotnet add package SqlBulkHelpers --version 126.96.36.199
<PackageReference Include="SqlBulkHelpers" Version="188.8.131.52" />
paket add SqlBulkHelpers --version 184.108.40.206
#r "nuget: SqlBulkHelpers, 220.127.116.11"
// Install SqlBulkHelpers as a Cake Addin #addin nuget:?package=SqlBulkHelpers&version=18.104.22.168 // Install SqlBulkHelpers as a Cake Tool #tool nuget:?package=SqlBulkHelpers&version=22.214.171.124
- Fix to correctly support fully qualified table names with schema.
- Ensure BulkCopy also uses timeout parameter.
- Add Overloads for easier initialization of SqlMergeMatchQualifierExpression class.
- Breaking change; removed internal Default static references so that I can eliminate any dependency on Configuration framework for better support in .Net Core; New Caching helper and simple constructor with Sql Connection String replace this.
- Added support to specify SqlCommand Timeout Seconds when initializing the Sql Bulk Helper class, instead of relying on the connection wide setting from the Connection string.
Prior Relese Notes:
- Added support for custom match qualifiers to be specified even if bulk inserting/updating data with Identity columns. This addresses some edge use cases whereby data syncing may be taking place and Identities are used to differentiate data from multiple sources, but the actual merge matches needs to occur on unique fields of the source system.
- Simplified initialization and constructors to provide easier use -- especially if SqlConnection/SqlTransaction already exists and ConnectionString is not available. It's still recommended to use ISqlBulkHelpersConnectionProvider however, this may not be congruent with existin code bases so now the use of existing Sql Connection & Transaction is encapsulated.
- Provided in-memory cache implementation to help manage caching of Schema DB Loaders for performance.
- Improved pattern for Schema DB Loader management and encourage use of new Caching class; previously its possible that this was being re-loaded multiple times unnecessarily due to relying on internal behavior instead of managing it as a static/singleton.
- Added more Integration Tests for Constructors and Connections, as well as the new DB Schema Loader caching implementation.
- Fixed bug in dynamic initialization of SqlBulkHelpersConnectionProvider and SqlBulkHelpersDBSchemaLoader when not using the Default instances that automtically load the connection string from the application configuration setting.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.