Many To Many relationship with cascading for both entities
Hello, I'm wanting my many to many relationship to cascade delete when either entity is deleted. My issue is I can only set one to DeleteBehaviour.Cascade at a time without it erroring. If I set both to cascade, it tells me an entity can't have multiple cascade paths. I'd like to be able to delete either Application or User and it auto delete their Followers relationship. Here is my code:
Let me know if you need any more code. Any help is appreciated. Thanks
1 Reply
still need help on this