예제 #1
0
        public void CopyProperties(QnSHolidayCalendar.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);
        }
예제 #2
0
 partial void OnStateChanging(ref bool handled, ref QnSHolidayCalendar.Contracts.Modules.Common.State _state);