示例#1
0
 public ByARpt Update(vImp_Contratos Reg)
 {
     IMP_CONTRATOS r = new IMP_CONTRATOS();
     Mapper.Map(Reg, r);
     cmdUpdate o = new cmdUpdate { reg = r };
     return o.Enviar();
 }
示例#2
0
 public ByARpt Insert(vImp_Contratos Reg)
 {
     Reg.FEC_REG = DateTime.Now;
     IMP_CONTRATOS r = new IMP_CONTRATOS();
     Mapper.Map(Reg, r);
     cmdInsert o = new cmdInsert { reg = r };
     return o.Enviar();
 }