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())); }
public Task <Materializer <M> > GetMaterializerAsync <M>(bool onQueue = true) where M : IDbModl, new() { return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider)); }
public Task <M> GetAsync <M>(bool onQueue = true) where M : IDbModl, new() { return(Materializer <M> .Async(ExecuteAsync(onQueue), DatabaseProvider).ContinueWith(x => x.Result.ReadAndClose())); }