Exemple #1
0
        public virtual List <TEntity> Get(TableStorageConditionCollection conditions)
        {
            if (conditions == null)
            {
                throw new ArgumentNullException(nameof(conditions));
            }

            List <TEntity> mappedList = new List <TEntity>();
            var            query      = new TableQuery().Where(conditions.CombineConditions()); //get all customers - because Customer is our partition key
            var            result     = table.ExecuteQuery(query).ToList();

            foreach (var item in result)
            {
                mappedList.Add(StripDTO(item));
            }
            return(mappedList);
        }
 public Task <IEnumerable <Customer> > Get(TableStorageConditionCollection condition)
 {
     throw new NotImplementedException();
 }