internal override IEnumerable<ITableEntity> BuildDenormalizedEntities()
        {
            var entity = new OrchestrationHistoryEventEntity(InstanceId,
                ExecutionId,
                SequenceNumber,
                TaskTimeStamp, HistoryEvent);
            entity.PartitionKey = TableConstants.InstanceHistoryEventPrefix +
                                  TableConstants.JoinDelimiter + InstanceId;
            entity.RowKey = TableConstants.InstanceHistoryEventRowPrefix +
                            TableConstants.JoinDelimiter +
                            ExecutionId + TableConstants.JoinDelimiter + SequenceNumber;

            return new OrchestrationHistoryEventEntity[1] {entity};
        }
Esempio n. 2
0
        internal override IEnumerable <ITableEntity> BuildDenormalizedEntities()
        {
            var entity = new OrchestrationHistoryEventEntity(InstanceId,
                                                             ExecutionId,
                                                             SequenceNumber,
                                                             TaskTimeStamp, HistoryEvent);

            entity.PartitionKey = TableConstants.InstanceHistoryEventPrefix +
                                  TableConstants.JoinDelimiter + InstanceId;
            entity.RowKey = TableConstants.InstanceHistoryEventRowPrefix +
                            TableConstants.JoinDelimiter +
                            ExecutionId + TableConstants.JoinDelimiter + SequenceNumber;

            return(new OrchestrationHistoryEventEntity[1] {
                entity
            });
        }