示例#1
0
 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));
 }
示例#2
0
        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);
        }
示例#3
0
 partial void AfterCopyProperties(QnSBillShare.Contracts.Persistence.App.IBill other);
示例#4
0
 partial void BeforeCopyProperties(QnSBillShare.Contracts.Persistence.App.IBill other, ref bool handled);
示例#5
0
 partial void OnBillChanging(ref bool handled, ref QnSBillShare.Contracts.Persistence.App.IBill _bill);