Ejemplo n.º 1
0
 public virtual Task AddOperationAsync <TEntity>(ITransaction transaction, DataOperationType operationType, string storeName, TEntity entity) where TEntity : IHavePartition <string, string>
 {
     return(_internal.AddOperationAsync(transaction, operationType, storeName, entity));
 }
 async Task IRepository <TEntity> .UpsertAsync(ITransaction transaction, TEntity entity)
 {
     await _dataSource.AddOperationAsync(transaction, DataOperationType.Upsert, _storeName, entity);
 }