private TransactionFramework.DeleteRelationshipTransactionLink CreateRelationshipDeletionTransaction(DelayedRelationshipAction action) { TransactionFramework.DeleteRelationshipTransactionLink deleteTransaction = null; if (RelationshipContext.Facade != null && RelationshipContext.Facade.IsConcrete) { deleteTransaction = new TransactionFramework.DeleteRelationshipTransactionLink(); deleteTransaction.DomainId = RelationshipContext.DomainId; deleteTransaction.MapManager = RelationshipContext.MapManager; deleteTransaction.Relationship = RelationshipContext.Facade; } return deleteTransaction; }
private TransactionFramework.UpdateRelationshipTransactionLink CreateRelationshipUpdatedTransaction(DelayedRelationshipAction action) { TransactionFramework.UpdateRelationshipTransactionLink updateTransaction = null; if (RelationshipContext.Facade != null && RelationshipContext.Facade.IsConcrete) { updateTransaction = new TransactionFramework.UpdateRelationshipTransactionLink(); updateTransaction.DomainId = RelationshipContext.DomainId; updateTransaction.MapManager = RelationshipContext.MapManager; updateTransaction.Relationship = RelationshipContext.Facade; updateTransaction.RelationshipType = null; } return updateTransaction; }
public void Enqueue(DelayedRelationshipAction action) { QueuedActions.Enqueue(action); }
private TransactionFramework.UpdateRelationshipTransactionLink CreateRelationshipUpdatedTransaction(DelayedRelationshipAction action) { TransactionFramework.UpdateRelationshipTransactionLink updateTransaction = null; if (RelationshipContext.Facade != null && RelationshipContext.Facade.IsConcrete) { updateTransaction = new TransactionFramework.UpdateRelationshipTransactionLink(); updateTransaction.DomainId = RelationshipContext.DomainId; updateTransaction.MapManager = RelationshipContext.MapManager; updateTransaction.Relationship = RelationshipContext.Facade; updateTransaction.RelationshipType = null; } return(updateTransaction); }
private TransactionFramework.DeleteRelationshipTransactionLink CreateRelationshipDeletionTransaction(DelayedRelationshipAction action) { TransactionFramework.DeleteRelationshipTransactionLink deleteTransaction = null; if (RelationshipContext.Facade != null && RelationshipContext.Facade.IsConcrete) { deleteTransaction = new TransactionFramework.DeleteRelationshipTransactionLink(); deleteTransaction.DomainId = RelationshipContext.DomainId; deleteTransaction.MapManager = RelationshipContext.MapManager; deleteTransaction.Relationship = RelationshipContext.Facade; } return(deleteTransaction); }