public void add(DBConnection_EF con, ACYCLEZONEDETAIL cyc_zone_detail) { con.ACYCLEZONEDETAIL.Add(cyc_zone_detail); con.SaveChanges(); }
public void update(DBConnection_EF con, ACYCLEZONEDETAIL section) { //bool isDetached = con.Entry(section).State == EntityState.Modified; //if (isDetached) con.SaveChanges(); }