public virtual MigratingEventScopeInstance AddEventScopeInstance(IMigrationInstruction migrationInstruction, ExecutionEntity eventScopeExecution, ScopeImpl sourceScope, ScopeImpl targetScope, IMigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl eventSubscriptionSourceScope, ScopeImpl eventSubscriptionTargetScope) { var compensationInstance = new MigratingEventScopeInstance(migrationInstruction, eventScopeExecution, sourceScope, targetScope, eventSubscriptionInstruction, eventSubscription, eventSubscriptionSourceScope, eventSubscriptionTargetScope); migratingEventScopeInstances.Add(compensationInstance); return(compensationInstance); }
public virtual void RemoveChild(MigratingEventScopeInstance compensationInstance) { childCompensationInstances.Remove(compensationInstance); }
public virtual void AddChild(MigratingEventScopeInstance compensationInstance) { childCompensationInstances.Add(compensationInstance); }