Exemple #1
0
 public static Address GetAddressFromDataAddress(DataAddress dataAddress)
 {
     return(new Address()
     {
         Id = dataAddress.Id,
         CustomerId = dataAddress.CustomerId,
         StreetAddress1 = dataAddress.StreetAddress1,
         StreetAddress2 = dataAddress.StreetAddress2,
         City = dataAddress.City,
         State = dataAddress.State,
         PostCode = dataAddress.PostCode,
         Country = dataAddress.Country,
     });
 }
 private void detach_DataAddresses(DataAddress entity)
 {
     this.SendPropertyChanging();
     entity.DataCustomer = null;
 }
 partial void UpdateDataAddress(DataAddress instance);
 partial void DeleteDataAddress(DataAddress instance);
 partial void InsertDataAddress(DataAddress instance);