-
# Who is using SmartSql
> Pls. submit a comment in this issue,You can refer to the following sample answer for the format:
* Orgnizatioin: Maidao sensing technology (Shanghai) Co., Ltd.
* Locat…
-
## SmartSql version
4.1.25
## Database provider and version
## Steps to reproduce
## Expected result
> namespace SmartSql.DyRepository.Annotations
> {
> [AttributeUsage(AttributeTarge…
-
https://github.com/Smart-Kit/SmartSql-Starter/blob/master/src/SmartSql.Starter.API/Maps-MySql/User.xml
number 70 , not Quyer but Query
-
在我实际应用中,In中的元素个数会有几百个甚至也许会更多。目前SmartSql中实现时,有多少个元素就会定义多少个参数,类似:@Ids_0,@Ids_1,@Ids_2…… 。这样执行效率会很低。相同条件的查询,使用EFCore时,它会把元素直接拼接到SQL中,不会使用参数化,类似 where id in (1,2,3……)。通过我的对比,EFCore这样的做法会有更好的性能。因此,我建议Smart…
-
-
## Steps to reproduce
配置进入一个不存在的配置项作为连接字符串
如上面代码,没有任何配置添加了 SmartSqlConnectionString 的定义
## Expected result
能在异常信息里面体现是配置项缺失,如找不到 x…
-
多参数条件查询(and,or,范围,函数转换等等)
多表联合返回多实体查询
事务交易回滚处理
像上面的这些在demo里面不能直接看到,自己要去翻看smartsql本身的代码去理解太花时间。
以便想切换的同学可以直接按照demo大体照搬就可以了,因为有时候框架的模式不一样,换一种新的不能快速上手,感觉很容易消磨切换的意愿。
-
查询结果里一部分字段映射到一个实体,另一部分映射到这个实体里的实体。
另外考虑一对多联表查询映射到实体里集合的场景。
-
希望把各种标签的使用例子加一个在文档中。
-
代码中拼接查询sql时,
https://github.com/DotNetNext/SqlSugar/blob/2f45954dbd963da812b237bec41bfe52c9c05ecb/Src/Asp.Net/SqlSugar/Realization/Oracle/DbMaintenance/OracleDbMaintenance.cs#L474
调试发现,对于Oracle 表名…