Is there any way to check if it is safe to delete record from table ?
for example :
daoStudent.Delete(id);
doesn’t throw exception if it has any child records , but I would like it to. I could take other actions like making student inactive.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I got it ,
to check if it has any child records.