protected virtual IPicklistItemMvoStateMergePatched Map(IMergePatchPicklistItemMvo c) { var stateEventId = new PicklistItemMvoEventId(c.PicklistBinPicklistItemId, c.PicklistBinVersion); IPicklistItemMvoStateMergePatched e = NewPicklistItemMvoStateMergePatched(stateEventId); e.ItemStatusId = c.ItemStatusId; e.Quantity = c.Quantity; e.Version = c.Version; e.Active = c.Active; e.PicklistBinPicklistId = c.PicklistBinPicklistId; e.PicklistBinBinLocationNumber = c.PicklistBinBinLocationNumber; e.PicklistBinPrimaryOrderId = c.PicklistBinPrimaryOrderId; e.PicklistBinPrimaryShipGroupSeqId = c.PicklistBinPrimaryShipGroupSeqId; e.PicklistBinCreatedBy = c.PicklistBinCreatedBy; e.PicklistBinCreatedAt = c.PicklistBinCreatedAt; e.PicklistBinUpdatedBy = c.PicklistBinUpdatedBy; e.PicklistBinUpdatedAt = c.PicklistBinUpdatedAt; e.PicklistBinActive = c.PicklistBinActive; e.PicklistBinDeleted = c.PicklistBinDeleted; e.IsPropertyItemStatusIdRemoved = c.IsPropertyItemStatusIdRemoved; e.IsPropertyQuantityRemoved = c.IsPropertyQuantityRemoved; e.IsPropertyVersionRemoved = c.IsPropertyVersionRemoved; e.IsPropertyActiveRemoved = c.IsPropertyActiveRemoved; e.IsPropertyPicklistBinPicklistIdRemoved = c.IsPropertyPicklistBinPicklistIdRemoved; e.IsPropertyPicklistBinBinLocationNumberRemoved = c.IsPropertyPicklistBinBinLocationNumberRemoved; e.IsPropertyPicklistBinPrimaryOrderIdRemoved = c.IsPropertyPicklistBinPrimaryOrderIdRemoved; e.IsPropertyPicklistBinPrimaryShipGroupSeqIdRemoved = c.IsPropertyPicklistBinPrimaryShipGroupSeqIdRemoved; e.IsPropertyPicklistBinCreatedByRemoved = c.IsPropertyPicklistBinCreatedByRemoved; e.IsPropertyPicklistBinCreatedAtRemoved = c.IsPropertyPicklistBinCreatedAtRemoved; e.IsPropertyPicklistBinUpdatedByRemoved = c.IsPropertyPicklistBinUpdatedByRemoved; e.IsPropertyPicklistBinUpdatedAtRemoved = c.IsPropertyPicklistBinUpdatedAtRemoved; e.IsPropertyPicklistBinActiveRemoved = c.IsPropertyPicklistBinActiveRemoved; e.IsPropertyPicklistBinDeletedRemoved = c.IsPropertyPicklistBinDeletedRemoved; e.CommandId = c.CommandId; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = ApplicationContext.Current.TimestampService.Now <DateTime>(); var picklistBinVersion = c.PicklistBinVersion; return(e); }
public virtual void MergePatch(IMergePatchPicklistItemMvo c) { IPicklistItemMvoStateMergePatched e = Map(c); Apply(e); }
void IPicklistItemMvoApplicationService.When(IMergePatchPicklistItemMvo c) { this.When((MergePatchPicklistItemMvoDto)c); }
public virtual void When(IMergePatchPicklistItemMvo c) { Update(c, ar => ar.MergePatch(c)); }