I have my model that has multiple lists. For example:
public class Funcionario
{
public ICollection<FuncionarioNotificacao> Notificacoes {get;set;}
public ICollection<FuncionarioExame> Exames {get;set;}
}
Let's see that in model above, I have employee reference to this list of notifications and exams.
I'd like to make cascade just in the notification list. That is, when I am going to delete the employee, if he has only link with notifications, he removes everything, if he has any referrals from Exams, he will come to exception .