Пример #1
0
        public PuzzleEntity Update(PuzzleEntity entity)
        {
            var operation = TableOperation.Replace(entity);

            _table.Execute(operation);
            return(entity);
        }
Пример #2
0
        public PuzzleEntity Delete(PuzzleEntity entity)
        {
            var operation = TableOperation.Delete(entity);

            _table.Execute(operation);
            return(entity);
        }
Пример #3
0
        public PuzzleEntity Create(PuzzleEntity entity)
        {
            var operation = TableOperation.InsertOrReplace(entity);

            _table.Execute(operation);
            return(entity);
        }