protected bool Equals(QnSBillShare.Contracts.Modules.BillExpense.IBalance other) { if (other == null) { return(false); } return(IsEqualsWith(From, other.From) && IsEqualsWith(To, other.To) && Amount == other.Amount); }
public void CopyProperties(QnSBillShare.Contracts.Modules.BillExpense.IBalance other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { From = other.From; To = other.To; Amount = other.Amount; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QnSBillShare.Contracts.Modules.BillExpense.IBalance other);
partial void BeforeCopyProperties(QnSBillShare.Contracts.Modules.BillExpense.IBalance other, ref bool handled);