示例#1
0
        public plantillaeva ObtenerPlantillaByID(int evaidplantilla)
        {
            Datoplantillaeva DatPlant = new Datoplantillaeva();

            plantillaeva plantilla = new plantillaeva();
            plantilla = (from l in DatPlant.select_All_Plantilla()
                         where l.evaidplantilla == evaidplantilla
                   select l
            ).FirstOrDefault();

            return plantilla;
            // return DatAut.select_AutosbyId(IDAuto);
        }
示例#2
0
 // update
 public int ActualizarPlantilla(int evaidplantilla, string evanomplantilla, string evavigplantilla)
 {
     Datoplantillaeva DatPlantAct = new Datoplantillaeva();
     return DatPlantAct.ActualizarPlantilla(evaidplantilla, evanomplantilla, evavigplantilla);
 }
示例#3
0
 //Seleccion
 public List<plantillaeva> ObtenerPlantilla()
 {
     Datoplantillaeva DatPlant = new Datoplantillaeva();
     return DatPlant.select_All_Plantilla();
 }
示例#4
0
 //insert
 public int InsertPlantilla(string evanomplantilla, string evavigplantilla)
 {
     Datoplantillaeva DatPlant = new Datoplantillaeva();
     return DatPlant.InsertPlantilla(evanomplantilla, evavigplantilla);
 }