You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassProfile{// Other properties excluded for brevitypublicInstagramChannelInstagram{get;set;}publicBlogChannelBlog{get;set;}}publicclassBlogChannel{}publicclassInstagramChannel{}
It works for a many-to-many relationship that I've set up for Profile, Category and ProfileCategory join table. That is - deleting a profile successfully removes the entries in ProfileCategory
The text was updated successfully, but these errors were encountered:
joacar
changed the title
Cascade delete not working
Cascade delete not working one-to-one
Dec 8, 2016
Hi,
First of, great work!
I have a model roughly
In the model builder I configure them like so
This is the generated code from the
.cs
fileIt works for a many-to-many relationship that I've set up for
Profile, Category and ProfileCategory join table
. That is - deleting a profile successfully removes the entries inProfileCategory
The text was updated successfully, but these errors were encountered: