The Entity Framework no longer, if it ever did, supports comparison of related tables with null. The CodeEffects probably needs to adjust their code to account for it.
As a workaround, set EvaluationParameters.PerformNullChecks = false as in:
EvaluationParameters evps = new EvaluationParameters
{
LINQProviderType = LinqProviderType.Entities,
PerformNullChecks = false
};
You pass those parameters in the Evaluator's constructor.
Note, this will disable all null-checks, which may or may not be a problem in your particular case.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…