Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[Fix] [2.1] GH #31082 Existing Transaction SQLBulkCopy#31801

Closed
keeratsingh wants to merge 8 commits intodotnet:release/2.1from
keeratsingh:gh_31082_ExistingTransaction_SqlBulkCopy_2.1
Closed

[Fix] [2.1] GH #31082 Existing Transaction SQLBulkCopy#31801
keeratsingh wants to merge 8 commits intodotnet:release/2.1from
keeratsingh:gh_31082_ExistingTransaction_SqlBulkCopy_2.1

Conversation

@keeratsingh
Copy link
Copy Markdown

Opening PR for 2.1 servicing for Issue #31082

Description
Unexpected existing transaction exception occurs when using SqlBulkCopy in TransactionScope

Customer Impact
Customers will not be able to use SqlBulkCopy in TransactionScope.

Regression?
No. SqlBulkCopy code path was missed when System.Transactions was ported over from .NET Framework to .NET Core.

Risk
Low. The SqlClient driver code change is minimal and has existed in .NET Framework since quite a while. The majority of the changes are test refactoring.

@danmoseley
Copy link
Copy Markdown
Member

@keeratsingh build failures
SQL/SqlBulkCopyTest/SqlBulkCopyTest.cs(13,64): error CS0117: 'DataTestUtility' does not contain a definition for 'IsAzureSqlServer' [/mnt/j/workspace/dotnet_corefx/release_2.1/linux-TGroup_netcoreapp+CGroup_Release+AGroup_x64+TestOuter_false_prtest/src/System.Data.SqlClient/tests/ManualTests/System.Data.SqlClient.ManualTesting.Tests.csproj]

@danmoseley danmoseley added the Servicing-consider Issue for next servicing release review label Aug 16, 2018
@vivmishra vivmishra removed the Servicing-consider Issue for next servicing release review label Aug 21, 2018
@danmoseley
Copy link
Copy Markdown
Member

Not taking at this time.

@danmoseley danmoseley closed this Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants