示例#1
0
 public Fach(int id)
 {
     var rst = new FachTableAdapter().GetDataById(id);
     if (rst.Count == 1)
     {
         this.data = rst[0];
     }
     else
     {
         throw new InvalidOperationException("Konstruktor Kurs: Ungültige ID.");
     }
 }
示例#2
0
文件: Fach.cs 项目: FOSBOS/diNo
 public Fach(diNoDataSet.FachRow f)
 {
     data = f;
 }