title: How do you ensure Cascade Delete is enabled on a table relationship in EF Code first?
body: <p>I would like to enable CASCADE DELETE on a table using code-first. When the model is re-created from scratch, there is no CASCADE DELETE set even though the relationships are set-up automatically. The strange thing is that it DOES enable this for some tables with a many to many relationship though, which you would think it might have problems with.</p>
  
  <p><strong>Setup:</strong>
  Table A &lt;- Table B.</p>
  
  <p>Table B's FK points to Table A's PK.</p>
  
  <p>Why would this not work?</p>