public void CopyProperties(QuickNSmart.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; RowVersion = other.RowVersion; 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); }
protected bool Equals(QuickNSmart.Contracts.Persistence.Account.ILoginSession other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && UserId == other.UserId && IsEqualsWith(SessionToken, other.SessionToken) && LoginTime == other.LoginTime && LastAccess == other.LastAccess && LogoutTime == other.LogoutTime); }
protected bool Equals(QuickNSmart.Contracts.Persistence.Account.ILoginSession other) { if (other == null) { return(false); } return(Id == other.Id && IsEqualsWith(RowVersion, other.RowVersion) && 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); }
public void CopyProperties(QuickNSmart.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; UserId = other.UserId; SessionToken = other.SessionToken; LoginTime = other.LoginTime; LastAccess = other.LastAccess; LogoutTime = other.LogoutTime; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QuickNSmart.Contracts.Persistence.Account.ILoginSession other);
partial void BeforeCopyProperties(QuickNSmart.Contracts.Persistence.Account.ILoginSession other, ref bool handled);