protected bool Equals(QnSContactManager.Contracts.Persistence.Account.IIdentity other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Guid, other.Guid) && IsEqualsWith(Name, other.Name) && IsEqualsWith(Email, other.Email) && IsEqualsWith(Password, other.Password) && EnableJwtAuth == other.EnableJwtAuth && AccessFailedCount == other.AccessFailedCount && State == other.State);
 }
        public void CopyProperties(QnSContactManager.Contracts.Persistence.Account.IIdentity 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;
                Guid              = other.Guid;
                Name              = other.Name;
                Email             = other.Email;
                Password          = other.Password;
                EnableJwtAuth     = other.EnableJwtAuth;
                AccessFailedCount = other.AccessFailedCount;
                State             = other.State;
            }
            AfterCopyProperties(other);
        }
Exemple #3
0
 partial void OnIdentityChanging(ref bool handled, ref QnSContactManager.Contracts.Persistence.Account.IIdentity _identity);
 partial void AfterCopyProperties(QnSContactManager.Contracts.Persistence.Account.IIdentity other);
 partial void BeforeCopyProperties(QnSContactManager.Contracts.Persistence.Account.IIdentity other, ref bool handled);