阅读背景:

在Linq to Sql中求和不返回值

来源:互联网 

I'm looking for a query to return the sum of all payments against an invoice ID - however, if there are no payments noted, the query below returns null. Is there any way of it returning 0 instead of null? I've tried adding ?? 0 at the end, but get the message I'm looking for a query to return the sum of al




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: