コード例 #1
0
 public async Task DeleteById(string id)
 {
     await _publishingHouseTablestorage.DeleteAsync(PublishingHouseEntity.GeneratePartitionKey(), id);
 }
コード例 #2
0
 public async Task InsertAsync(IPublishingHouse house)
 {
     await _publishingHouseTablestorage.InsertOrMergeAsync(PublishingHouseEntity.Create(house));
 }
コード例 #3
0
 public async Task <IEnumerable <IPublishingHouse> > GetList()
 {
     return(await _publishingHouseTablestorage.GetDataAsync(PublishingHouseEntity.GeneratePartitionKey()));
 }
コード例 #4
0
        public async Task <PublishingHouse> GetByIdAsync(string id)
        {
            var src = await _publishingHouseTablestorage.GetDataAsync(PublishingHouseEntity.GeneratePartitionKey(), id);

            return(PublishingHouse.Create(src));
        }