Пример #1
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            InventoryPRTriggeredId other = obj as InventoryPRTriggeredId;

            if (other == null)
            {
                return(false);
            }

            return(true &&
                   Object.Equals(this.SourceEntryId, other.SourceEntryId) &&
                   Object.Equals(this.InventoryPostingRuleId, other.InventoryPostingRuleId)
                   );
        }
        public virtual IInventoryPRTriggeredState Get(InventoryPRTriggeredId inventoryPRTriggeredId)
        {
            var state = StateRepository.Get(inventoryPRTriggeredId, true);

            return(state);
        }
 public abstract IEventStoreAggregateId ToEventStoreAggregateId(InventoryPRTriggeredId aggregateId);
Пример #4
0
 public InventoryPRTriggeredEventId(InventoryPRTriggeredId inventoryPRTriggeredId, long version)
 {
     this._inventoryPRTriggeredId = inventoryPRTriggeredId;
     this._version = version;
 }