public ArtistWorkInfoEntity(IArtistWorkInfo info)
 {
     Id           = info.Id;
     Title        = info.Title;
     ArtistId     = info.ArtistId;
     PartitionKey = "KISW";
 }
        public bool TryGetArtistWorkInfo(int artistWorkId, out IArtistWorkInfo ArtistWorkInfo)
        {
            var query = new TableQuery <ArtistWorkInfoEntity>().Where(
                TableQuery.GenerateFilterCondition(
                    nameof(ArtistWorkInfoEntity.RowKey),
                    QueryComparisons.Equal,
                    artistWorkId.ToString())
                );
            IEnumerable <ArtistWorkInfoEntity> entities = _cacheTable.ExecuteQuery(query);

            ArtistWorkInfo = entities?.FirstOrDefault();
            return(entities.Any());
        }