title: How to check if there's changed Linq2SQL objects before commiting
body: <p>I've some classes, for example, Parent and Children. Parent have a collection of Children objects, and I use Linq 2 SQL to persist them. The problem is: if some properties change in the Children object, I may need to update the Parent object, and I need to check it before persisting.</p>
  
  <p>I have a ChildrenRepository with the Insert(Children children) method, that basically calls the InsertOnSubmit(Children children) method from Linq 2 SQL, and the Save() method that calls the SubmitChanges() from Linq 2 SQL. I want to check in the Save() method if there's any Children object that was modified, and if there's, do the work. How could I do that?</p>