Ejemplo n.º 1
0
 internal bool Equals(InvoiceAddress address)
 {
     bool isequal = false;
     isequal = (
             this.first.ToLower().Trim() == address.first.ToLower().Trim() &&
             this.last.ToLower().Trim() == address.last.ToLower().Trim() &&
             this.street1.ToLower().Trim() == address.street1.ToLower().Trim() &&
             this.street2.ToLower().Trim() == address.street2.ToLower().Trim() &&
             this.city.ToLower().Trim() == address.city.ToLower().Trim() &&
             this.state == address.state &&
             this.postal_code.ToLower().Trim() == address.postal_code.ToLower().Trim());
     return isequal;
 }
 partial void DeleteInvoiceAddress(InvoiceAddress instance);
 partial void UpdateInvoiceAddress(InvoiceAddress instance);
 partial void InsertInvoiceAddress(InvoiceAddress instance);