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
There is a use case requested to bake in EF Sql Retry logic discussed in #1864. However to do so requires a Property on the IDbCommand to be set. Using only connection.CreateCommand in the CommandDefinition does not allow this to happen.
Please add a new ctor that takes in a Func<IDbConnection, IDbCommand> createCommand delegate and use that if provided in the SetupCommand method.
The text was updated successfully, but these errors were encountered:
billrob
added a commit
to billrob/dapper-dot-net
that referenced
this issue
Oct 31, 2024
There is a use case requested to bake in EF Sql Retry logic discussed in #1864. However to do so requires a Property on the IDbCommand to be set. Using only
connection.CreateCommand
in theCommandDefinition
does not allow this to happen.Please add a new
ctor
that takes in aFunc<IDbConnection, IDbCommand> createCommand
delegate and use that if provided in theSetupCommand
method.The text was updated successfully, but these errors were encountered: