コード例 #1
0
        public virtual void Patch(AddressDataEntity target)
        {
            var patchInjectionPolicy = new PatchInjection <AddressDataEntity>(x => x.City, x => x.CountryCode,
                                                                              x => x.CountryName, x => x.DaytimePhoneNumber,
                                                                              x => x.Email, x => x.EveningPhoneNumber, x => x.FaxNumber,
                                                                              x => x.FirstName, x => x.LastName, x => x.Line1,
                                                                              x => x.Line2, x => x.Name, x => x.Organization, x => x.PostalCode,
                                                                              x => x.RegionName, x => x.RegionId, x => x.StateProvince, x => x.Type);

            target.InjectFrom(patchInjectionPolicy, this);
        }
コード例 #2
0
 public virtual void Patch(AddressDataEntity target)
 {
     target.City               = this.City;
     target.CountryCode        = this.CountryCode;
     target.CountryName        = this.CountryName;
     target.DaytimePhoneNumber = this.DaytimePhoneNumber;
     target.PostalCode         = this.PostalCode;
     target.RegionId           = this.RegionId;
     target.RegionName         = this.RegionName;
     target.Type               = this.Type;
     target.City               = this.City;
     target.Email              = this.Email;
     target.FirstName          = this.FirstName;
     target.LastName           = this.LastName;
     target.Line1              = this.Line1;
     target.Line2              = this.Line2;
 }
コード例 #3
0
 public virtual void Patch(AddressDataEntity target)
 {
     target.City               = City;
     target.CountryCode        = CountryCode;
     target.CountryName        = CountryName;
     target.DaytimePhoneNumber = DaytimePhoneNumber;
     target.PostalCode         = PostalCode;
     target.RegionId           = RegionId;
     target.RegionName         = RegionName;
     target.Type               = Type;
     target.City               = City;
     target.Name               = Name;
     target.Email              = Email;
     target.FirstName          = FirstName;
     target.LastName           = LastName;
     target.Line1              = Line1;
     target.Line2              = Line2;
 }
コード例 #4
0
 public virtual void Patch(AddressDataEntity target)
 {
     target.City               = City;
     target.CountryCode        = CountryCode;
     target.CountryName        = CountryName;
     target.DaytimePhoneNumber = DaytimePhoneNumber;
     target.PostalCode         = PostalCode;
     target.RegionId           = RegionId;
     target.RegionName         = RegionName;
     target.Type               = Type;
     target.City               = City;
     target.Name               = Name;
     target.Email              = Email;
     target.FirstName          = FirstName;
     target.LastName           = LastName;
     target.Line1              = Line1;
     target.Line2              = Line2;
     target.EveningPhoneNumber = EveningPhoneNumber;
     target.FaxNumber          = FaxNumber;
     target.Organization       = Organization;
     target.StateProvince      = StateProvince;
 }
コード例 #5
0
 public virtual void Patch(AddressDataEntity target)
 {
     var patchInjectionPolicy = new PatchInjection<AddressDataEntity>(x => x.City, x => x.CountryCode,
                                                                               x => x.CountryName, x => x.DaytimePhoneNumber,
                                                                               x => x.Email, x => x.EveningPhoneNumber, x => x.FaxNumber,
                                                                               x => x.FirstName, x => x.LastName, x => x.Line1,
                                                                               x => x.Line2, x => x.Name, x => x.Organization, x => x.PostalCode,
                                                                               x => x.RegionName, x => x.RegionId, x => x.StateProvince, x => x.Type);
     target.InjectFrom(patchInjectionPolicy, this);
 }