0
pointlevel created
Hi!
I have extended the OrganizationUnit entity, and also added a reference (one-to-one) to another entity. The child entity inherits the filter, FullAuditedEntity. But when i delete the organizationUnit only the OrganizationUnit is softdeleted, nothing happens to the child entity. I have tried using both the OrganizationUnitManager and also my newly created Appservice for the extended entity for the delete task, but no difference.
public async Task DeleteMyExtendedOU(long id)
{
await _myExtendedOURepository.DeleteAsync(id);
}
1 Answer(s)
-
0
You need to cascade soft deletes yourself. Related issue: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1992