public bool commitInsert(doctor doc) { using (objDoc) { objDoc.doctors.InsertOnSubmit(doc); objDoc.SubmitChanges(); return(true); } }
partial void Updatedoctor(doctor instance);
partial void Deletedoctor(doctor instance);
partial void Insertdoctor(doctor instance);