First和FirstorDefault First在查询数据不存在的时候会抛出异常,而FirstorDefault则返回null
Linq知识
原文:https://www.cnblogs.com/shanshuiYiCheng/p/10643831.html