public static dataModel.FulfillmentCenter ToDataModel(this coreModel.FulfillmentCenter center)
        {
            var retVal = new dataModel.FulfillmentCenter();

            retVal.InjectFrom(center);
            return(retVal);
        }
 public virtual void Patch(dataModel.FulfillmentCenter target)
 {
     target.City               = City;
     target.CountryCode        = CountryCode;
     target.CountryName        = CountryName;
     target.DaytimePhoneNumber = DaytimePhoneNumber;
     target.Description        = Description;
     target.Line1              = Line1;
     target.Line2              = Line2;
     target.Name               = Name;
     target.PostalCode         = PostalCode;
     target.StateProvince      = StateProvince;
 }
        /// <summary>
        /// Patch changes
        /// </summary>
        /// <param name="source"></param>
        /// <param name="target"></param>
        public static void Patch(this dataModel.FulfillmentCenter source, dataModel.FulfillmentCenter target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }
            var patchInjection = new PatchInjection <dataModel.FulfillmentCenter>(x => x.City, x => x.CountryCode,
                                                                                  x => x.CountryName, x => x.DaytimePhoneNumber,
                                                                                  x => x.Description, x => x.Line1,
                                                                                  x => x.Line2, x => x.MaxReleasesPerPickBatch, x => x.Name,
                                                                                  x => x.PickDelay, x => x.PostalCode, x => x.StateProvince);

            target.InjectFrom(patchInjection, source);
        }
		public static dataModel.FulfillmentCenter ToDataModel(this coreModel.FulfillmentCenter center)
		{
			var retVal = new dataModel.FulfillmentCenter();
			retVal.InjectFrom(center);
			return retVal;
		}