Esempio n. 1
0
 public List <T> FetchOneToMany <T>(Expression <Func <T, IList> > many, Func <T, object> idFunc, Sql sql)
 {
     return(RetryPolicy.ExecuteAction(() => InternalDb.FetchOneToMany(many, idFunc, sql)));
 }
Esempio n. 2
0
 public List <T> FetchOneToMany <T>(Expression <Func <T, IList> > many, Func <T, object> idFunc, string sql, params object[] args)
 {
     return(RetryPolicy.ExecuteAction(() => InternalDb.FetchOneToMany(many, idFunc, sql, args)));
 }