-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add template methods around DbConnection inside RelationalConnection #22849
Conversation
There's a test failing ( |
@@ -227,11 +227,19 @@ public virtual void EnlistTransaction(Transaction transaction) | |||
Dependencies.TransactionLogger.ExplicitTransactionEnlisted(this, transaction); | |||
} | |||
|
|||
DbConnection.EnlistTransaction(transaction); | |||
ConnectionEnlistTransaction(transaction); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotnet/efteam Any thoughts on naming these template methods before merging? (We will review in API review later anyway.)
@joaopgrassi You should be able to add the method to typeof(RelationalConnection).GetMethod("CreateDbConnection", BindingFlags.Instance | BindingFlags.NonPublic); |
Right 😅. Was so deep into the errors forgot the obvious, lol. I did notice though that some methods return a |
@joaopgrassi Thanks for the contribution! |
Resolves #21327