Coalescing results in Linq
问题 have looked through many posts here on SO, and haven't found any that address this. Just a note that all code presented here is simplified but representative of the real code. I have a data table that describes some properties of coverage plans. The query to bring back the best match looks something like this: select coalesce ( (select c.PercentOfCoverageA from CoveragePlans c where c.coverage = :COVERAGE and c.plancode = :PLANCODE and c.statecode = :STATECODE), (select c.PercentOfCoverageA