Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

Reopened Issue: Can't delete data B when referencing foreign data A [1306]

$
0
0
<p>I have two datatypes</p>
<p>&nbsp;</p>
<p>A and B</p>
<p>&nbsp;</p>
<p>B has a foreign key reference to A with settings AllowCascadeDeletes = false, NullReferenceValue = null, NullableString = true</p>
<p>&nbsp;</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.

Viewing all articles
Browse latest Browse all 2540

Latest Images

Trending Articles



Latest Images