private void UpdateParameter()
 {
     CurrentParameter = new ParameterViewModel(
         (from DataRow row in Database.Proc("getParameter", new[] {
         new MySqlParameter("termapplied", Terms[SelectedTerm].Name)
     }).Rows
          select new Parameter(row)).FirstOrDefault(), context);
     CurrentParameter.SetTerm(Terms[SelectedTerm].Name);
 }
		private void UpdateParameter()
		{
			CurrentParameter = new ParameterViewModel(
				(from DataRow row in Database.Proc("getParameter", new[]{
					new MySqlParameter("termapplied", Terms[SelectedTerm].Name) }).Rows
				 select new Parameter(row)).FirstOrDefault(), context);
			CurrentParameter.SetTerm(Terms[SelectedTerm].Name);
		}