示例#1
0
 protected bool Equals(QuickNSmart.Contracts.Business.Account.IIdentityUser other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(RowVersion, other.RowVersion) && IsEqualsWith(FirstItem, other.FirstItem) && IsEqualsWith(SecondItem, other.SecondItem));
 }
示例#2
0
        public void CopyProperties(QuickNSmart.Contracts.Business.Account.IIdentityUser other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id         = other.Id;
                RowVersion = other.RowVersion;
                FirstItem.CopyProperties(other.FirstItem);
                SecondItem.CopyProperties(other.SecondItem);
            }
            AfterCopyProperties(other);
        }
示例#3
0
 partial void AfterCopyProperties(QuickNSmart.Contracts.Business.Account.IIdentityUser other);
示例#4
0
 partial void BeforeCopyProperties(QuickNSmart.Contracts.Business.Account.IIdentityUser other, ref bool handled);