示例#1
0
 public Address ToAddress()
 {
     return(new Address()
     {
         AddressType = AddressType, City = CityDTO.ToCity()
     });
 }
示例#2
0
 public AddressDTO(Address address)
 {
     AddressType = address.AddressType;
     HouseNumber = address.HouseNumber;
     StreetName  = address.StreetName;
     CityDTO     = new CityDTO();
 }