-
Notifications
You must be signed in to change notification settings - Fork 316
Flatten | SqlInternalConnectionTds and SqlInternalConnection #3773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
benrr101
wants to merge
35
commits into
main
Choose a base branch
from
dev/russellben/flatten/sqlinternalconnection
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,008
−894
Open
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
66c2cd6
Change all possible references from SqlInternalConnection to SqlInter…
benrr101 2d664a6
Move BeginTransaction and BeginSqlTransaction into SqlInternalConnect…
benrr101 c796212
Move ChangeDatabase into SqlInternalConnectionTds, move ChangeDatabas…
benrr101 13c373c
Move EnlistTransaction to SqlInternalConnectionTds
benrr101 a176e2f
Remove abstract ValidateConnectionForExecute
benrr101 c5863e3
Move Enlist into SqlInternalConnectionTds
benrr101 8002ec7
Move EnlistNonNull into SqlInternalConnectionTds
benrr101 202beb5
Move EnlistNull into SqlInternalConnectionTds
benrr101 bb3d541
Removed no longer necessary abstractions in SqlInternalConnection
benrr101 4d39842
Move OnError into SqlInternalConnectionTds
benrr101 58c358f
Move Deactivate into SqlInternalConnectionTds, merge InternalDeactiva…
benrr101 07750f8
Move GetTransactionCookie into SqlInternalConnectionTds
benrr101 dbe9d9e
Move FindLiveReader into SqlInternalConnectionTds
benrr101 355f2d2
Merge SqlInternalConnection.Dispose into SqlInternalConnectionTds
benrr101 74b0c92
Move CleanupTransactionOnCompletion, CreateReferenceCollection into S…
benrr101 ce46515
Introduce a CachedContexts class, move the cached call contexts from …
benrr101 79cf052
Migrate usages of CachedCommandExecuteNonQueryAsyncContext to the new…
benrr101 0a45c97
Migrate usages of CachedCommandExecuteXmlReaderAsyncContext to the ne…
benrr101 7b5a637
Migrate usage of ReadAsyncCallContext to the new class
benrr101 ba4c7df
Migrate usage of IsDBNullAsyncCallContext to the new class.
benrr101 a0a1f24
Comments on CachedContexts
benrr101 41b7f2a
Sure why not move the reader snapshot into the CachedContexts class? …
benrr101 1b52999
Move _whereAbouts and s_globalTransactionTMID
benrr101 8fb7b0e
Merge constructors
benrr101 0e78a6e
Merge AvailableInternalTransaction, CurrentTransaction, HasLocalTrans…
benrr101 858d98e
Merge Connection, ConnectionOptions, CurrentDatabase, CurrentDataSour…
benrr101 6dfbd5d
Remove SqlInternalConnection
benrr101 a83bd7c
Move SqlInternalConnectionTds.cs to SqlConnectionInternal.cs
benrr101 c4db055
Renane Microsoft.Data.SqlClient.SqlInternalConnectionTds to Microsoft…
benrr101 d010d48
Fix one reference to SqlInternalConnectionTds in unit tests
benrr101 4d02cc2
As per copilot comment, rewriting a block in SqlConnectionFactory to …
benrr101 04e5cdf
As per copilot comment, adding more comments to CachedContexts class
benrr101 64766f4
Addressing some feedback from @mdiagle
benrr101 89b92b9
Merge branch 'main' into dev/russellben/flatten/sqlinternalconnection
benrr101 3b795ae
Rename Clear*Context to Take*Context
benrr101 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.