protected bool Equals(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(RowVersion, other.RowVersion) && Date == other.Date && IsEqualsWith(Subject, other.Subject) && IsEqualsWith(Street, other.Street) && IsEqualsWith(ZipCode, other.ZipCode) && IsEqualsWith(City, other.City)); }
public void CopyProperties(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Id = other.Id; RowVersion = other.RowVersion; Date = other.Date; Subject = other.Subject; Street = other.Street; ZipCode = other.ZipCode; City = other.City; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other);
partial void BeforeCopyProperties(QuickNSmart.Contracts.Persistence.TestOneToMany.IInvoice other, ref bool handled);