Exemple #1
0
 public Task <IEnumerable <M> > GetAllAsync <M>(bool onQueue = true) where M : IDbModl, new()
 {
     return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider).ContinueWith(x => x.Result.GetAll()));
 }
Exemple #2
0
 public Task <Materializer <M> > GetMaterializerAsync <M>(bool onQueue = true) where M : IDbModl, new()
 {
     return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider));
 }
Exemple #3
0
 public Task <M> GetAsync <M>(bool onQueue = true) where M : IDbModl, new()
 {
     return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider).ContinueWith(x => x.Result.ReadAndClose()));
 }