This sounds like an EntityFramework issue.
If I’m understanding you correctly, you either need to delete the related entities first or setup cascading delete so that EF handles the deleting of the related entities for you.
Jeff
--
You received this message because you are subscribed to the Google Groups "SharpRepository" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
sharpreposito...@googlegroups.com.
To post to this group, send email to
sharpre...@googlegroups.com.
Visit this group at http://groups.google.com/group/sharprepository.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sharprepository/9b900942-ec96-4bd7-952f-fd108f284bb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.