Add the IDbConnection extended method named dynamic ExecuteQuery() into the DbRepository object. This is to make the DbRepository object more align with the IDbConnection object extension methods.
Here is the IDbConnection signature.
public static IEnumerable<dynamic> ExecuteQuery(this IDbConnection connection, string commandText, object param = null, CommandType? commandType = null, int? commandTimeout = null, IDbTransaction transaction = null);
Add the
IDbConnectionextended method nameddynamic ExecuteQuery()into theDbRepositoryobject. This is to make theDbRepositoryobject more align with theIDbConnectionobject extension methods.Here is the
IDbConnectionsignature.