Is there any way in Linq to check to see if a record of a parent exists in its children?
I have a table that has a foreign key relationship with 12 other tables. All I want to do is see if any records in those child tables depend on the parent, so I can delete it without causing errors with FK constraints.
Thanks guys.
I ended up just making an extension class that checked each one... Time consuming but got the job done... I would still like opinions if possible