Example #1
0
 public void Actualizar(O_Operfinancieras obj)
 {
     using (MonitorOperacionesEntities db = new MonitorOperacionesEntities())
     {
         db.O_Operfinancieras.Attach(obj);
         db.Entry(obj).State = System.Data.Entity.EntityState.Modified;
         db.SaveChanges();
     }
 }
Example #2
0
 public O_Operfinancieras Isertar(O_Operfinancieras obj)
 {
     using (MonitorOperacionesEntities db = new MonitorOperacionesEntities())
     {
         db.O_Operfinancieras.Add(obj);
         db.SaveChanges();
         return(obj);
     }
 }
Example #3
0
 public void Eliminar(O_Operfinancieras obj)
 {
     using (MonitorOperacionesEntities db = new MonitorOperacionesEntities())
     {
         db.O_Operfinancieras.Attach(obj);
         db.O_Operfinancieras.Remove(obj);
         db.SaveChanges();
     }
 }
Example #4
0
 public static void Elimiar(O_Operfinancieras obj)
 {
     dOperfinancieras.Eliminar(obj);
 }
Example #5
0
 public static void Actualizar(O_Operfinancieras obj)
 {
     dOperfinancieras.Actualizar(obj);
 }
Example #6
0
 public static O_Operfinancieras Insertar(O_Operfinancieras obj)
 {
     return(dOperfinancieras.Isertar(obj));
 }