Hi,
I use the SelfServicing approach and would like to achieve the following:
I have a Contacts Table
A contact in the database can linked to the following:
Task
Event
Department
Contract
Then when a user wants to delete the contact it should show all related entities so the user knows why he can't delete the user is has selected.
In the LLBL Gen / SQL Server all relations are available but without referencing integraty, because a task can also belong to a Customer and not to a Contact, so I can't enforce relations. (Sometimes a task is only assigned to a user, and no other entities).
Any suggestions would be nice!
[Extra]
I know about get GetDependingEntities (I thought that was the name) but the problem is on what field to search. A task might have a creator, handler, supervisor, etc. which all are related to users. If I know Task is related to contact, how to know on which fields. Or has this to be done by hand?
Thanks.
Gab