I am trying to enable cascade on delete in entity framework, using postgresql and the dotconnect database connector.
According to this guide I'm supposed to edit the CSDL and SSDL that I should be able to find in "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Xml\Schemas" according to this. I did find the CSDL and SSDL files, but when I opened them they did not contain any line (or anything remotely similar to) .
The blog is 3 years old so the information is probably outdated, but where do I go from here?

有帮助吗?

解决方案

Please open your model in Entity Developer ( http://www.devart.com/entitydeveloper/ed-vs-edm.html ), navigate to Model Explorer > ModelName.Store > Constraints > open Storage Constrain Editor for your constraint and set the "Delete Action" property to Cascade.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top