Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 partial void AfterCopyProperties(QnSTravelCount.Contracts.Persistence.App.ITravel other);
Ejemplo n.º 4
0
 partial void BeforeCopyProperties(QnSTravelCount.Contracts.Persistence.App.ITravel other, ref bool handled);
Ejemplo n.º 5
0
 partial void OnTravelChanging(ref bool handled, ref QnSTravelCount.Contracts.Persistence.App.ITravel _travel);