Esempio n. 1
0
 public Dictionary <string, IEnumerable <string> > GetPartitionsValues(T entity)
 {
     return(EntityDefinition.Partitions().Where(p => !string.IsNullOrWhiteSpace(p.Name)).ToDictionary(k => k.Name, v => v.Expressions.Select(e => TableStorageQueryBuilder.NormalizeStringValue(e.Evaluate(entity) ?? "NULL"))));
 }