protected bool Equals(QnSTravelCount.Contracts.Persistence.App.ITravel other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Designation, other.Designation) && IsEqualsWith(Description, other.Description) && IsEqualsWith(Currency, other.Currency) && IsEqualsWith(Friends, other.Friends) && IsEqualsWith(Category, other.Category)); }
public void CopyProperties(QnSTravelCount.Contracts.Persistence.App.ITravel 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; Designation = other.Designation; Description = other.Description; Currency = other.Currency; Friends = other.Friends; Category = other.Category; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QnSTravelCount.Contracts.Persistence.App.ITravel other);
partial void BeforeCopyProperties(QnSTravelCount.Contracts.Persistence.App.ITravel other, ref bool handled);
partial void OnTravelChanging(ref bool handled, ref QnSTravelCount.Contracts.Persistence.App.ITravel _travel);