public void AddVillage(Village V) { //throw new NotImplementedException(); bool isVPresent = checkIfVillageAlreadyExists(V.Village_Name); if (!isVPresent) { tblVillage tV = new tblVillage(); tV.Taluk_Id = getTalukIdFromName(V.Taluk_Name); tV.Village_Name = V.Village_Name; // Add the Village dc.tblVillages.InsertOnSubmit(tV); dc.SubmitChanges(); } return; }