Exemple #1
0
        public virtual async Task <IList <E> > ListEntityAsync()
        {
            var result = await Db.ListAsync <E>(QueryTemplate.CreateListQuery(), null);

            return(result.ToList());
        }
Exemple #2
0
 public virtual IList <E> ListEntity()
 {
     return(Db.List <E>(QueryTemplate.CreateListQuery(), null).ToList());
 }