public bool InsertPQNhom(PQNhom pqNhom) { DataClassesDataContext data = new DataClassesDataContext(Connection); data.PQNhoms.InsertOnSubmit(pqNhom); try { data.SubmitChanges(); return true; } catch (Exception e) { return false; } }
partial void UpdatePQNhom(PQNhom instance);
partial void DeletePQNhom(PQNhom instance);
partial void InsertPQNhom(PQNhom instance);