<p>I have two datatypes</p>
<p> </p>
<p>A and B</p>
<p> </p>
<p>B has a foreign key reference to A with settings AllowCascadeDeletes = false, NullReferenceValue = null, NullableString = true</p>
<p> </p>
<p>When deleting an instance of B which has reference to instance of A i get error that cascade delete is not allowed.</p>
Comments: ** Comment from web user: burningice ** They are not the same. This issue is about not being able to delete instance B, while this should be perfectly legal.
Its B that has a foreign key to A, so this error should only happen when trying to delete A, not B.
<p> </p>
<p>A and B</p>
<p> </p>
<p>B has a foreign key reference to A with settings AllowCascadeDeletes = false, NullReferenceValue = null, NullableString = true</p>
<p> </p>
<p>When deleting an instance of B which has reference to instance of A i get error that cascade delete is not allowed.</p>
Comments: ** Comment from web user: burningice ** They are not the same. This issue is about not being able to delete instance B, while this should be perfectly legal.
Its B that has a foreign key to A, so this error should only happen when trying to delete A, not B.