Пример #1
0
 public Task <ApiVersion> FindApiVersion(string organizationId, string projectId, string apiVersionValue)
 {
     return(this.TableStorageDataProject
            .Find <ApiVersion>(
                partitionKey: ApiVersion.GetPartitionKey(organizationId),
                rowKey: ApiVersion.ApiVersionIndex.GetRowKey(projectId, apiVersionValue)));
 }
Пример #2
0
 public Task <SegmentedResult <ApiVersion> > FindApiVersions(string organizationId, string projectId, TableContinuationToken token = null)
 {
     return(this.TableStorageDataProject
            .FindRangeSegmented <ApiVersion>(
                partitionKey: ApiVersion.GetPartitionKey(organizationId),
                rowKeyPrefix: ApiVersion.ApiVersionIndex.GetRowKeyPrefix(projectId),
                token: token));
 }