I'm trying to write manually this linq sentence:
item => !item.Matches.Any(m => m.MarketPlace == "Amazon");
I know calling the Any method, but how do I do the reverse?
...
...
var anyCall = Expression.Call(typeof(Enumerable), "Any", new[] { modelType }, models, lambdaExp);
return Expression.Lambda<Func<T, bool>>(anyCall, item);
this code sql outputs 'Exists'. How to sql outputs 'Not Exists' ?
Aucun commentaire:
Enregistrer un commentaire