/// <summary>
 /// Update the given Lemma in the repository. The Lemma must already exist!!
 /// </summary>
 /// <param name="val"></param>
 public void Update(T val)
 {
     UpdateCmd.Parameters.Add(Database.CreateParameter("@id", val.Id, UpdateCmd));
     UpdateCmd.Parameters.Add(Database.CreateParameter("@word", val.Word, UpdateCmd));
     object[] rec = ConstructRecordFrom(val);
     for (int i = 0; i < ColumNames.Count(); ++i)
     {
         UpdateCmd.Parameters.Add(Database.CreateParameter("@" + ColumNames[i], rec[i], UpdateCmd));
     }
     UpdateCmd.ExecuteNonQuery();
 }
 public void Update(FAKategorie faKategorie)
 {
     FillCommandParameter(UpdateCmd, faKategorie);
     int x = UpdateCmd.ExecuteNonQuery();
 }