c# - Microsoft.EntityFrameworkCore.Query Warning when running query -
i using .netcore2.0 , entityframeworkcore.
when execute following:
expression<func<foobar, bool>> predicate = x => query.foos.any(a => a.contains(x.foo)) && query.bars.any(s => s.contains(x.bar)); var results = getall().asqueryable().where(predicate);
i following warning messages in console:
warn: microsoft.entityframeworkcore.query[200500] linq expression 'any()' not translated , evaluated locally. warn: microsoft.entityframeworkcore.query[200500] linq expression 'where [a].contains([x].foo)' not translated , evaluated locally warn: microsoft.entityframeworkcore.query[200500] linq expression 'where [a].contains([x].bar)' not translated , evaluated locally
the query work , returns looking wondering if there way avoid these warnings or suppress them
Comments
Post a Comment