public static ICloudTableEntitySegmentedRangeQuery PrepareEntitySegmentedRangeQueryByPartition( this ICloudTable table, string partitionKey, string[] properties) { Require.NotNull(table, "table"); Require.NotNull(partitionKey, "partitionKey"); return(table.PrepareEntityFilterSegmentedRangeQuery( "PartitionKey eq '{0}'".FormatString(partitionKey), properties)); }
public static ICloudTableEntitySegmentedRangeQuery PrepareEntitySegmentedRangeQueryByRows( this ICloudTable table, string partitionKey, string fromRowKey, string toRowKey, string[] properties) { Require.NotNull(table, "table"); Require.NotNull(fromRowKey, "fromRowKey"); Require.NotNull(toRowKey, "toRowKey"); return(table.PrepareEntityFilterSegmentedRangeQuery( "(PartitionKey eq '{0}') and (RowKey ge '{1}' and RowKey le '{2}')".FormatString(partitionKey, fromRowKey, toRowKey), properties)); }
public static ICloudTableEntitySegmentedRangeQuery PrepareEntityFilterSegmentedRangeQuery(this ICloudTable table, string filter, int count) { Require.NotNull(table, "table"); return(table.PrepareEntityFilterSegmentedRangeQuery(filter, count, EmptyArray.Get <string>())); }