Пример #1
0
 public IDocumentProjectionBuilder Slice(string arrayProperty, int count)
 {
     _projections.Add(InternalBuilder.Slice(arrayProperty, count));
     return(this);
 }
 public static ProjectionDefinition <TileDbEntity> FetchRecentData(
     this ProjectionDefinitionBuilder <TileDbEntity> source, int amountOfData)
 {
     return(source.Slice(x => x.Data, -amountOfData));
 }