protected override void AddPasswordResetSecret(PasswordResetSecret item) { var passwordResetSecret = new NhPasswordResetSecret(); passwordResetSecret.GetType() .GetProperty("PasswordResetSecretID") .SetValue(passwordResetSecret, item.PasswordResetSecretID); passwordResetSecret.GetType().GetProperty("Question").SetValue(passwordResetSecret, item.Question); passwordResetSecret.GetType().GetProperty("Answer").SetValue(passwordResetSecret, item.Answer); passwordResetSecret.GetType().GetProperty("Account").SetValue(passwordResetSecret, this); this.PasswordResetSecretsCollection.Add(passwordResetSecret); }