示例#1
0
 public Task <DocumentEntity> GetAsync(string documentId)
 {
     return(_context.FirstOrDefaultAsync(p => p.Id == documentId));
 }
示例#2
0
 private Task <CachedItem> RetrieveAsync(string key)
 {
     return(_tableSet.FirstOrDefaultAsync(e => e.PartitionKey == _options.PartitionKey && e.RowKey == key));
 }