使用多表查询进行关联时,提示 join子句中其中一个表达式的类型不正确,注意字段类型和名称要一致,否则join时提示语法错误,错误截图如下
var incomedetails = from a in _postgredbcontext.merchant_daily_income_detail join b in _postgredbcontext.merchant_daily_invoice on new { a.merchant_id, a.date.date } equals new { b.merchant_id, b.date.date } select a ;
如对本文有疑问, 点击进行留言回复!!
使用Visual Studio2019创建C#项目(窗体应用程序、控制台应用程序、Web应用程序)
C#实现获取本地内网(局域网)和外网(公网)IP地址的方法分析
网友评论