예제 #1
0
파일: Select.cs 프로젝트: 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()));
 }
예제 #2
0
파일: Select.cs 프로젝트: bazer/Modl
 public Task <Materializer <M> > GetMaterializerAsync <M>(bool onQueue = true) where M : IDbModl, new()
 {
     return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider));
 }
예제 #3
0
파일: Select.cs 프로젝트: 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()));
 }