예제 #1
0
 protected bool Equals(QnSBillShare.Contracts.Persistence.Account.IRole other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Designation, other.Designation) && IsEqualsWith(Description, other.Description));
 }
예제 #2
0
        public void CopyProperties(QnSBillShare.Contracts.Persistence.Account.IRole 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;
            }
            AfterCopyProperties(other);
        }
예제 #3
0
 partial void AfterCopyProperties(QnSBillShare.Contracts.Persistence.Account.IRole other);
예제 #4
0
 partial void BeforeCopyProperties(QnSBillShare.Contracts.Persistence.Account.IRole other, ref bool handled);