示例#1
0
 /// <summary>
 /// Creates a new serialized source system entity associated with an operation.
 /// </summary>
 /// <param name="entity">The entity to create.</param>
 public void CreateOperationSourceSystemEntity(
     IOperationSerializedEntity entity)
 {
     this.Invoke(
         () => this.repository.CreateOperationSourceSystemEntity(entity),
         nameof(this.repository.CreateOperationSourceSystemEntity));
 }
示例#2
0
 /// <summary>
 /// Creates a new serialized source system entity associated with an operation.
 /// </summary>
 /// <param name="entity">The entity to create.</param>
 public void CreateOperationSourceSystemEntity(IOperationSerializedEntity entity)
 {
     this.context.CreateOperationSourceSystemEntity(
         entity.Operation.Id,
         entity.Operation.TimeStamp,
         entity.Entity.DataHash,
         entity.Entity.Data,
         entity.Entity.Label);
 }