Beispiel #1
0
 public StateEntity(TransformationProcessStatus status)
 {
     PartitionKey = status.ProcessId.ToString();
     RowKey       = status.ProcessId.ToString();
     Data         = JsonConvert.SerializeObject(status);
     State        = status.State.ToString();
 }
Beispiel #2
0
        public async Task WriteProcessStatusAsync(TransformationProcessStatus status, CancellationToken token = default)
        {
            await EnsureTableAsync();

            var entity = new StateEntity(status);

            await tableReference.ExecuteAsync(TableOperation.InsertOrReplace(entity));
        }
Beispiel #3
0
 Task ITransformationStateManager.WriteProcessStatusAsync(TransformationProcessStatus status, CancellationToken token)
 {
     throw new NotImplementedException();
 }