Carregamento ansioso condicional?
Eu quero carregar uma entidade e seus filhos condicionalmente (eu só quero carregar ansiosamente os filhos quando child.IsActive == true). Como faço para executar o seguinte?
var parent =
from p in db.tblParents.Include("tblChildren") <-- where tblChildren.IsActive == true
where p.PrimaryKey == 1
select p;
NOTA: Não quero retornar um tipo anônimo.
Obrigado.