public void CopyProperties(QnSBillShare.Contracts.Business.App.IBillExpense 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; Bill = other.Bill; Expenses = other.Expenses; Id = other.Id; TotalExpense = other.TotalExpense; FriendPortion = other.FriendPortion; NumberOfFriends = other.NumberOfFriends; Friends = other.Friends; FriendAmounts = other.FriendAmounts; Balances = other.Balances; } AfterCopyProperties(other); }
protected bool Equals(QnSBillShare.Contracts.Business.App.IBillExpense other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Bill, other.Bill) && IsEqualsWith(Expenses, other.Expenses) && Id == other.Id && TotalExpense == other.TotalExpense && FriendPortion == other.FriendPortion && NumberOfFriends == other.NumberOfFriends && IsEqualsWith(Friends, other.Friends) && IsEqualsWith(FriendAmounts, other.FriendAmounts) && IsEqualsWith(Balances, other.Balances)); }
partial void AfterCopyProperties(QnSBillShare.Contracts.Business.App.IBillExpense other);
partial void BeforeCopyProperties(QnSBillShare.Contracts.Business.App.IBillExpense other, ref bool handled);