If Linq Result Is Empty

前端 未结 2 1011
旧时难觅i
旧时难觅i 2020-12-29 01:31

If I have a linq query that looks like this, how can I check to see if there were no results found by the query?

var LinqResult = 
    from a in Db.Table
            


        
2条回答
提交回复
热议问题