You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an IDbTransaction is in scope, find all methods that could be called with the IDbTransaction (but aren't) and flag them as errors. Create a code fix provider that calls the appropriate overload.
When an IDbTransaction is in scope, find all methods that accept an IDbConnection, and flag them as errors if the IDbTransaction is not passed to them. Create one code fix provider that attempts to call an appropriate overload, and another code fix provider that adds a parameter to the target method if there isn't an appropriate overload.
The text was updated successfully, but these errors were encountered:
A couple of possible variations:
When an
IDbTransaction
is in scope, find all methods that could be called with theIDbTransaction
(but aren't) and flag them as errors. Create a code fix provider that calls the appropriate overload.When an
IDbTransaction
is in scope, find all methods that accept anIDbConnection
, and flag them as errors if theIDbTransaction
is not passed to them. Create one code fix provider that attempts to call an appropriate overload, and another code fix provider that adds a parameter to the target method if there isn't an appropriate overload.The text was updated successfully, but these errors were encountered: