In this example you will see who to delete record from database which match the id in the patient table.
Let’s see the example
using (var db = new PatientDataContext())
{
db.PATIENTs.DeleteAllOnSubmit(db.PATIENTs.Where(x=> x.ID==10));
db.SubmitChanges();
}
