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