-
例如有两张表,一个是Hotel,一个是Room,还有一个User,需要把Hotel的一行记录映射到一个Hotel的实体,而把这个HotelId关联的Room记录映射到Hotel实体的一个集合属性上,User一个映射到Hotel中的实体属性上。
```
public class Hotel
{
public int HotelId {get;set;}
public str…
-
` 一台写数据库服务器 部署一个sql server数据库实例里面部署了4个数据库(产品数据库、用户数据库、 仓库数据库、订单数据库)
N台查询数据库服务器 每台部署的数据库都和写数据库服务器的一样,都是一个sql server 实例和四个数据库(产品数据库、用户数据库、 仓库数据库、订单数据库)表结构等都是一样的,只是用来查询的,当然写和查的数据库数据怎么同步系统不用管。…
-
鉴于最新版本已支持多查询返回多个对象,现在提议一个特性,就是在DyRepository中的方法执行多条查询时,可以把多个结果映射到一个实体的不同属性上。
例如返回类型是以下类型:
```
public class PagedData
{
public PagedData()
{
}
public…
-
smartsqlmapconfig的setting节点,监视配置文件改为true之后修改配置文件无效果,从修改数据库字符串到maps里的sql语句,都没有效果。
-
# SmartSql-v3.0 意见收集
## v3.0 已知主要目标:
1. 增强SmartSql扩展性
2. 重构部分代码
3. 去除Dapper依赖
4. 优化缓存触发策略
5. 仓储接口动态实现
6. 以及各位的意见,请在此Issue中评论新增意见
> SmartSql 的成长离不开大家的意见&建议,感谢各位对SmartSql的支持!
-
有些业务需要返回多个结果集,比如返回数据和查询条件下的条数,这个sql语句是一个存储过程,里面需要处理逻辑;或者有些大数据需要处理,但是数据是多个表,需要一次返回数据 如果用DataSet就非常方便
-
Dear Team,
We recently found an issue when inserting an Javascript with a boolean field which is as an index field. We tried to use string and integer as the index type for the boolean property. Ho…
-
Please fill out the following details:
1. Version of Mobile SDK Used: 6.0.0
2. Issue found in Native App or Hybrid App: Native Swift App
3. OS Version: 11.0 (happens on all OS's)
4. Device: iOS
…
-
When querying an external soup with a SmartSQL query (ex. select {Account:_soup} from {Account}) iOS correctly returns the soup items, but Android returns this error:
JSONException
Value at 0 is nu…
-
能否简化下SmartSqlMapConfig.xml的xml配置?:
>
此处能否修改为
>
直接以文件夹的形式提供配置项?