コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
 public void Enqueue(DelayedRelationshipAction action)
 {
     QueuedActions.Enqueue(action);
 }
コード例 #4
0
 public void Enqueue(DelayedRelationshipAction action)
 {
     QueuedActions.Enqueue(action);
 }
コード例 #5
0
        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);
        }
コード例 #6
0
        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);
        }