protected bool Equals(QnSBillShare.Contracts.Persistence.App.IBill other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && Date == other.Date && IsEqualsWith(Title, other.Title) && IsEqualsWith(Description, other.Description) && IsEqualsWith(Currency, other.Currency) && IsEqualsWith(Friends, other.Friends)); }
public void CopyProperties(QnSBillShare.Contracts.Persistence.App.IBill other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Id = other.Id; Timestamp = other.Timestamp; Date = other.Date; Title = other.Title; Description = other.Description; Currency = other.Currency; Friends = other.Friends; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QnSBillShare.Contracts.Persistence.App.IBill other);
partial void BeforeCopyProperties(QnSBillShare.Contracts.Persistence.App.IBill other, ref bool handled);
partial void OnBillChanging(ref bool handled, ref QnSBillShare.Contracts.Persistence.App.IBill _bill);