Example #1
0
 public void DeleteFailConn()
 {
     setFailConn();
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow del = food.GetVoidRow;
     del["Id"] = 1;
     del["Name"] = "cajas";
     food.Delete(del);
 }
Example #2
0
 public void DeleteWrongRow()
 {
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow del = food.GetVoidRow;
     del["Name"] = new ENType("taca");
     food.Delete(del);
 }
Example #3
0
 public void Delete()
 {
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow del = food.GetVoidRow;
     del["Id"] = 1;
     del["Name"] = "Kg";
     food.Delete(del);
 }
Example #4
0
 public void DeleteNullRow()
 {
     ACAD food = new CADType("GebatDataConnectionString");
     food.Delete(null);
 }