Add template methods around DbConnection inside RelationalConnection#22849
Conversation
|
There's a test failing ( |
| } | ||
|
|
||
| DbConnection.EnlistTransaction(transaction); | ||
| ConnectionEnlistTransaction(transaction); |
There was a problem hiding this comment.
@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