This question is locked. New answers and comments are not allowed.
Hello,
I have ​used IsDependent on a collection in my parent class to attempt to get a cascade delete, but no matter what I do, the constraint does not appear in the DDL. I have specified that backendConfiguration.Runtime.AllowCascadeDelete = true; as well but no luck.
dashboardComponentMapping
.HasAssociation(dc => dc.DashboardComponentParameters)
.WithOpposite(dcp => dcp.DashboardComponent)
.HasConstraint((dc, dcp) => dc.Id == dcp.DashboardComponentId)
.IsDependent();