示例#1
0
文件: DLL.cs 项目: DevelopGolden/FULL
 /// <summary>
 /// Registra una nueva calificacion.
 /// </summary>
 /// <param name="obj">Representa la calificacion.</param>
 public void insertCalificacion(Calificacion obj)
 {
     this.ExecuteNonQuery(String.Format("EXECUTE PROCEDURE SP_REGISTRA_CARRERA({0},'{1}','{2}')", getPKCarrera(), obj.DESCRIPCION));
     if (this.ExistError)
         throw new Exception(this.MessageError);
 }
示例#2
0
文件: DLL.cs 项目: DevelopGolden/FULL
 public void updateCalificacion(Calificacion obj)
 {
 }
示例#3
0
文件: DLL.cs 项目: DevelopGolden/FULL
 public void eliminaCalificacion(Calificacion obj)
 {
     this.ExecuteNonQuery(String.Format("EXECUTE "));
     if (this.ExistError)
         throw new Exception(this.MessageError);
 }