原文:EntityFramework:An error occurred while executing the command definition. See the inner exception for details.

錯誤描述: 調用EF中的FirstOrDefault 時,報錯誤:An error occurred while executing the command definition. See the inner exception for details. 解決方案: 一般是代碼中的表或者字段無法與數據庫對應導致,檢查代碼中的表名稱或字段名稱與數據庫表或字段名稱是否一致。 ...

2019-06-21 16:15 0 4334 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM