Exemplo n.º 1
0
 /// <summary>
 /// Asynchronous executes a select query for multiple objects, returning IMultipleResultReader for each predicate.
 /// </summary>
 public static async Task <IMultipleResultReader> GetMultipleAsync(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int?commandTimeout)
 {
     return(await Instance.GetMultipleAsync(connection, predicate, transaction, commandTimeout));
 }
Exemplo n.º 2
0
 public IMultipleResultReader GetMultiple(GetMultiplePredicate predicate, int?commandTimeout)
 {
     return(_dapper.GetMultiple(Connection, predicate, _transaction, commandTimeout));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Executes a select query for multiple objects, returning IMultipleResultReader for each predicate.
 /// </summary>
 public static IMultipleResultReader GetMultiple(this IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction = null, int?commandTimeout = null)
 {
     return(Instance.GetMultiple(connection, predicate, transaction, commandTimeout));
 }