Ejemplo n.º 1
0
 public void Update(Punct3 punct)
 {
     using (var context = new MasterContext())
     {
         context.Entry(punct).State = EntityState.Modified;
         context.SaveChanges();
     }
 }
Ejemplo n.º 2
0
 public void DeleteClient(Punct3 punct)
 {
     using (var context = new MasterContext())
     {
         context.Entry(punct).State = EntityState.Deleted;
         context.SaveChanges();
     }
 }
Ejemplo n.º 3
0
 public void AddPunct3(Punct3 punct)
 {
     using (var context = new MasterContext())
     {
         context.Set <Punct3>().Add(punct);
         context.SaveChanges();
     }
 }