dotnetcore / FreeSql

🦄 .NET aot orm, C# orm, VB.NET orm, Mysql orm, Postgresql orm, SqlServer orm, Oracle orm, Sqlite orm, Firebird orm, 达梦 orm, 人大金仓 orm, 神通 orm, 翰高 orm, 南大通用 orm, 虚谷 orm, 国产 orm, Clickhouse orm, QuestDB orm, MsAccess orm.
http://freesql.net
MIT License
3.99k stars 842 forks source link

在Select中使用子查询Any 生成SQL有语法错误 #1779

Open LemonNoCry opened 1 month ago

LemonNoCry commented 1 month ago

问题描述及重现代码:

select 如果有使用了子查询Any 翻译错误

image image

使用导航属性和直接freesql.Queryable 均错误 生成的SQL image

该Sql执行后报错 image

数据库版本

SqlServer2012

安装的Nuget包

3.2.821

.net framework/. net core? 及具体版本

framework 4.8

2881099 commented 1 month ago

写成 .Any(---)? true : false

LemonNoCry commented 1 month ago

可行

这个bug也尽快修复一下