internal void SetBO(Indico.DAL.DistributorClientAddressDetailsView obj)
 {
     // set the Indico.BusinessObjects.DistributorClientAddressDetailsViewBO properties
     this.ID           = obj.ID;
     this.Address      = obj.Address;
     this.Suburb       = obj.Suburb;
     this.PostCode     = obj.PostCode;
     this.CountryID    = obj.CountryID;
     this.Country      = obj.Country;
     this.ContactName  = obj.ContactName;
     this.EmailAddress = obj.EmailAddress;
     this.ContactPhone = obj.ContactPhone;
     this.CompanyName  = obj.CompanyName;
     this.AddressType  = obj.AddressType;
     this.State        = obj.State;
     this.Port         = obj.Port;
     this.PortID       = obj.PortID;
     this.ClientID     = obj.ClientID;
     this.Client       = obj.Client;
 }
 internal void SetDAL(Indico.DAL.DistributorClientAddressDetailsView obj, IndicoEntities context)
 {
     // set the Indico.DAL.DistributorClientAddressDetailsView properties
     obj.ID           = Convert.ToInt32(ID);
     obj.Address      = Address;
     obj.Suburb       = Suburb;
     obj.PostCode     = PostCode;
     obj.CountryID    = Convert.ToInt32(CountryID);
     obj.Country      = Country;
     obj.ContactName  = ContactName;
     obj.EmailAddress = EmailAddress;
     obj.ContactPhone = ContactPhone;
     obj.CompanyName  = CompanyName;
     obj.AddressType  = Convert.ToInt32(AddressType);
     obj.State        = State;
     obj.Port         = Port;
     obj.PortID       = Convert.ToInt32(PortID);
     obj.ClientID     = Convert.ToInt32(ClientID);
     obj.Client       = Client;
 }