会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
z_hj
大明湖畔皇阿玛
博客园
首页
新随笔
联系
管理
2016年10月18日
The cast to value type 'System.Decimal' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.
摘要: _investmentRepository.Table.Where(t => t.CustomerId == customerId && t.InvestmentStatus == tempStatus).Sum(t =>t.Amount); 查询结果存在NULL值,在尝试将它转换成System.I
阅读全文
posted @ 2016-10-18 13:09 z_hj
阅读(1979)
评论(0)
推荐(0)
公告