0
kansoftware created
Parent Table
{
pId primaryKey
,name
}
Child Table
{
cId primaryKey
,cname
,pId foriegnKey with cascade delete
}
Both the entities are fullaudited entity created by RAD power tool.
What will happen if we have set cascade delete against the foreign key and created a fullaudited entity. Will the child table entries be marked as "isdeleted true" when parent entry is marked "deleted"??
2 Answer(s)
-
0
Hi @kansoftware
Yes, it should work like that. Did you try it ?
-
0
You need to cascade soft deletes yourself. See aspnetboilerplate/aspnetboilerplate#3559.