title: Delete Entity in Entity Framework 4.0
body: <p>I have two tables without any cascade deleting, the two tables have 1 to many relation ship.</p>
  
  <p>When loading the entities that map that tables , and try to delete the parent entity then 2 scenarios will execute:</p>
  
  <ol>
  <li>The entity framework will force the cascade delete when both entities were loaded.</li>
  <li>If the child entity was not loaded it will raise an exception</li>
  </ol>
  
  <p>How to guarantee that the entity framework will execute the second scenario always????
  What I mean, I need to raise an exception without force delete cascade behavior. </p>
  
  <p>thank you so much.</p>