Lost_Ask

Results 6 issues of Lost_Ask

目前已测试mysql,sqlite,sql server, odbc和 其他数据类型由于没有资源,等作者帮忙测试了 由于没有 FW 没有.net 4.0 等等 项目目标框架:更改了. 后续请修正

![H9P {K3TY7R$5I{$SZX1OQ4](https://user-images.githubusercontent.com/46678241/122362430-b2f88500-cf8a-11eb-82b6-a63bf50ce63b.png) ![NYCX}VKHAC00%`LB9G8B}TS](https://user-images.githubusercontent.com/46678241/122362524-c4da2800-cf8a-11eb-8c9e-6122adad6a37.png) 问题:使用表达式时, c#使用快捷的表达式树 ToList(x=>new {isenabled=x.statuscode!=documentcode.xx}),解析到SQL语句 select * from sys_menu SELECT ((a.[status_code] N'Forbidden')) as1 FROM [sys_menu] a 会报错 现在要强制使用 三元表达式的 表达式树ToList(x=>new {isenabled=x.statuscode!=documentcode.xx?true:false}),解析到的sql才正确(case when) 数据库:sql server 2012

bug

在freesql中的tolist/tolistAsync(),只能使用 表达式树,如果想要动态选择select 某些列字段,表达式树构造起来会比较麻烦。如果像Linq.Dynamic用字符串代替,应该能方便不少, https://github.com/zzzprojects/System.Linq.Dynamic.Core 另外有个需求,目前 freesql的tolist(true)进行深度导航. 能否进行 深度导航+表达式树,即 tolist(true,exp)构造实体呢?

如果动态参数value是表的字段,该如何定义,这样的意义前端通过type名称,动态反射进行多表查询,筛选,甚至select自定义字段, 可以实现前端动态条件更灵活 ![S3U%IB~)J0RJ{3V$L4Q$2WG](https://user-images.githubusercontent.com/46678241/109406699-311e2500-79b6-11eb-88e9-f6c8eb046386.png) 这个是测试文件 [ss.txt](https://github.com/dotnetcore/FreeSql/files/6056227/ss.txt)

如题,tsx编译时,已经定义出来的props属性,在setup函数中 引用会 提示类型检查错误... ![image](https://user-images.githubusercontent.com/46678241/124414277-fd4c7500-dd84-11eb-86d9-bf4fce321891.png) 另外:如何在tsx中定义 css/less, 并在tsx中引用/使用? 另外:在vscode中,在 自定义.vue如何引用 tsx文件。。。 ![image](https://user-images.githubusercontent.com/46678241/124414713-cf1b6500-dd85-11eb-8de7-762bbd9a4d19.png)

bug

你好 大佬. 请问可以用 ISourceGenerator 动态生成Controller Action 吗? 通过emit 动态生成 dynamicMethod 太容易给破解了. 用ISourceGenerator 很好规避这个问题 避开反射等等的性能