次のクエリで
var restrictions = from p in dcTrad.quop_restricted_items
where p.entry_status == 'P' && p.batch == "PRODUCTION" && p.problem != null
from q in dcTrad.model_companies
where q.co_name != null && p.brimsec == q.primary_bsec
select new { Company = q.co_name, Restriction = p.comment ?? "Restricted without comments", Portfolio = p.problem };
交換する必要があります
p.brimsec == q.primary_bsec
と
p.brimsec.StartsWith ( q.primary_bsec )
しかし、次のエラーが発生します。
Only arguments that can be evaluated on the client are supported for the String.StartsWith method
どうすればこれを機能させることができますか?