Exemple #1
0
        public virtual void Patch(PricelistAssignmentEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException(nameof(target));
            }

            target.Name        = Name;
            target.Description = Description;
            target.CatalogId   = CatalogId;
            target.PricelistId = PricelistId;
            target.Priority    = Priority;
            target.PredicateVisualTreeSerialized = PredicateVisualTreeSerialized;
            target.StartDate = StartDate;
            target.EndDate   = EndDate;
        }
Exemple #2
0
        public virtual void Patch(PricelistAssignmentEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }

            target.Name                          = this.Name;
            target.Description                   = this.Description;
            target.StartDate                     = this.StartDate;
            target.EndDate                       = this.EndDate;
            target.CatalogId                     = this.CatalogId;
            target.PricelistId                   = this.PricelistId;
            target.Priority                      = this.Priority;
            target.ConditionExpression           = this.ConditionExpression;
            target.PredicateVisualTreeSerialized = this.PredicateVisualTreeSerialized;
        }