Exemple #1
0
 public vPL_PLANTILLA Get(decimal ID)
 {
     using (ctx = new Entities())
     {
         vPL_PLANTILLA r = new vPL_PLANTILLA();
         PL_PLANTILLA b = ctx.PL_PLANTILLA.Where(t => t.ID == ID).FirstOrDefault();
         Mapper.Map(b, r);
         return r;
     }
 }
Exemple #2
0
 public ByARpt Update(vPL_PLANTILLA Reg)
 {
     cmdUpdate o = new cmdUpdate();
     o.oDto = Reg;
     return o.Enviar();
 }
Exemple #3
0
 public ByARpt Insert(vPL_PLANTILLA Reg)
 {
     cmdInsert o = new cmdInsert();
     o.oDto = Reg;
     return o.Enviar();
 }
 public ByARpt Update(vPL_PLANTILLA Reg)
 {
     mPlantillas o = new mPlantillas();
     return o.Update(Reg);
 }
 public ByARpt Insert(vPL_PLANTILLA Reg)
 {
     mPlantillas o = new mPlantillas();
     return o.Insert(Reg);
 }