Example #1
0
        public void CopyProperties(QnSHolidayCalendar.Contracts.Persistence.Account.ILoginSession 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;
                IsRemoteAuth = other.IsRemoteAuth;
                Origin       = other.Origin;
                Name         = other.Name;
                Email        = other.Email;
                JsonWebToken = other.JsonWebToken;
                SessionToken = other.SessionToken;
                LoginTime    = other.LoginTime;
                LastAccess   = other.LastAccess;
                LogoutTime   = other.LogoutTime;
            }
            AfterCopyProperties(other);
        }
Example #2
0
 protected bool Equals(QnSHolidayCalendar.Contracts.Persistence.Account.ILoginSession other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IdentityId == other.IdentityId && IsRemoteAuth == other.IsRemoteAuth && IsEqualsWith(Origin, other.Origin) && IsEqualsWith(Name, other.Name) && IsEqualsWith(Email, other.Email) && IsEqualsWith(JsonWebToken, other.JsonWebToken) && IsEqualsWith(SessionToken, other.SessionToken) && LoginTime == other.LoginTime && LastAccess == other.LastAccess && LogoutTime == other.LogoutTime);
 }
Example #3
0
 partial void AfterCopyProperties(QnSHolidayCalendar.Contracts.Persistence.Account.ILoginSession other);
Example #4
0
 partial void BeforeCopyProperties(QnSHolidayCalendar.Contracts.Persistence.Account.ILoginSession other, ref bool handled);