Exemplo n.º 1
0
        private FoundationAddress CreateAddress()
        {
            var address = new FoundationAddress(CustomerAddress.CreateInstance());

            address.AddressId = BusinessManager.Create(address.Address);
            return(address);
        }
Exemplo n.º 2
0
 public B2BAddressViewModel(FoundationAddress address)
 {
     AddressId   = address.AddressId;
     Name        = address.Name;
     Street      = address.Street;
     City        = address.City;
     PostalCode  = address.PostalCode;
     CountryCode = address.CountryCode;
     CountryName = address.CountryName;
 }