Blame view

sources/RoboforkApp.AWS/Contracts/ITableDataService.cs 442 Bytes
1debe12ff   toan   RM2077: Add new p...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace RoboforkApp.AWS.Contracts
  {
      public interface ITableDataService
      {
          void Store<T>(T item) where T : new();
          void BatchStore<T>(IEnumerable<T> items) where T : class;
          IEnumerable<T> GetAll<T>() where T : class;
          T GetItem<T>(string key) where T : class;
      }
  }