/*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Hss Entity Framework Auto Generated Code^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ internal void Init_from_DRWIN_dvdCust(Models.Custodians.DividendCustodian dvdCust, Country cty, Event eve) { if (dvdCust == null || cty == null || eve == null) { return; } this.custodian_number.Init_from_attr(dvdCust.Custodian_Number); this.name.Init_from_attr(dvdCust.Custodian); this.address1.Init_from_attr(dvdCust.Address1); this.address2.Init_from_attr(dvdCust.Address2); this.city.Init_from_attr(dvdCust.City); this.state.Init_from_attr(dvdCust.State); this.zip.Init_from_attr(dvdCust.Zip); this.country_code.Value = cty.cntry_cd.Value; this.phone.Init_from_attr(dvdCust.Phone); this.fax.Init_from_attr(dvdCust.Fax); this.email.Init_from_attr(dvdCust.Email); this.event_id.Value = eve.event_id; this.psafe.Init_from_attr(dvdCust.PSAFE); this.safe_keeping_account_number.Init_from_attr(dvdCust.SafeKeeping_AccountNum); this.depositary_name.Init_from_attr(dvdCust.Depositary); }
/*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Hss Entity Framework Auto Generated Code^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ internal void Init_from_DRWIN_dvdCust(Models.Custodians.DividendCustodian dvdCust, Country cty, Event eve) { if (dvdCust == null || cty == null || eve == null) { return; } this.event_id.Value = eve.event_id; this.contact_company_name.Init_from_attr(dvdCust.Custodian); this.contact_address1.Init_from_attr(dvdCust.Address1); this.contact_address2.Init_from_attr(dvdCust.Address2); this.contact_country_code.Value = cty.cntry_cd.Value; this.contact_phone.Init_from_attr(dvdCust.Phone); this.contact_email.Init_from_attr(dvdCust.Email); this.contact_fax.Init_from_attr(dvdCust.Fax); this.contact_city.Init_from_attr(dvdCust.City); this.contact_state.Init_from_attr(dvdCust.State); this.contact_zip.Init_from_attr(dvdCust.Zip); }