protected override void AddTwoFactorAuthToken(TwoFactorAuthToken item) { var twoFactorAuthToken = new NhTwoFactorAuthToken(); twoFactorAuthToken.GetType().GetProperty("Issued").SetValue(twoFactorAuthToken, item.Issued); twoFactorAuthToken.GetType().GetProperty("Token").SetValue(twoFactorAuthToken, item.Token); twoFactorAuthToken.GetType().GetProperty("Account").SetValue(twoFactorAuthToken, this); this.TwoFactorAuthTokensCollection.Add(twoFactorAuthToken); }