示例#1
0
 public void Update(EquiModels equi)
 {
     _equiDBContext.Entry(equi).State = EntityState.Modified;
     _equiDBContext.SaveChanges();
 }
示例#2
0
 public void Add(EquiModels models)
 {
     _equiDBContext.models.Add(models);
     _equiDBContext.SaveChanges();
 }