Esempio n. 1
0
File: Select.cs Progetto: bazer/Modl
 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()));
 }
Esempio n. 2
0
File: Select.cs Progetto: bazer/Modl
 public Task <Materializer <M> > GetMaterializerAsync <M>(bool onQueue = true) where M : IDbModl, new()
 {
     return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider));
 }
Esempio n. 3
0
File: Select.cs Progetto: bazer/Modl
 public Task <M> GetAsync <M>(bool onQueue = true) where M : IDbModl, new()
 {
     return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider).ContinueWith(x => x.Result.ReadAndClose()));
 }