Exemplo n.º 1
0
 protected bool Equals(QnSHolidayCalendar.Contracts.Persistence.Account.IIdentityXRole other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IdentityId == other.IdentityId && RoleId == other.RoleId);
 }
Exemplo n.º 2
0
        public void CopyProperties(QnSHolidayCalendar.Contracts.Persistence.Account.IIdentityXRole 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;
                IdentityId = other.IdentityId;
                RoleId     = other.RoleId;
            }
            AfterCopyProperties(other);
        }
Exemplo n.º 3
0
 partial void AfterCopyProperties(QnSHolidayCalendar.Contracts.Persistence.Account.IIdentityXRole other);
Exemplo n.º 4
0
 partial void BeforeCopyProperties(QnSHolidayCalendar.Contracts.Persistence.Account.IIdentityXRole other, ref bool handled);