We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WithTempQuery 查询时,用子表 Sum 不会赋值,但是在ToListAsync 子查询时会赋值
var withTempQuery = select.WithTempQuery(e => new Model(e) { DoneScoreCount = _freeSql.Select<Model>().Where(asr => asr.Num == e.Num).Count(), ZeroScoreCount = _freeSql.Select<Model>().Where(asr => asr.Num == e.Num && asr.Score <= 0).Count(), SelfScore = _freeSql.Select<Model>().Where(asr => asr.Num == e.Num).Sum(asr => asr.Score), });
SqlServer
都是最新的 3.2.821
.net6
The text was updated successfully, but these errors were encountered:
提供可以运行的demo
Sorry, something went wrong.
No branches or pull requests
问题描述及重现代码:
WithTempQuery 查询时,用子表 Sum 不会赋值,但是在ToListAsync 子查询时会赋值
数据库版本
SqlServer
安装的Nuget包
都是最新的 3.2.821
.net framework/. net core? 及具体版本
.net6
The text was updated successfully, but these errors were encountered: