Closed Ahoo-Wang closed 5 years ago
12.集成EF Core
Oh... sharding ..
6简单的单表CUD实现就成了
12.返回类型 键值对 如: Dictionary IList<Dictionary> 增加灵活性 13.xml里where if判断条件能单独处理如:<where> <if test="id>0" >id=?id </if> </where>
@ghd258 SmartSql 跟 EF Core 都是ORM,不理解你指的集成是啥意思?
支持,蛮好的!
支持一对多实体列表返回值映射
提供更友好的异常日志,过滤掉通过smartsql引起的系统异常
@chnzhang
12.返回类型键值对如:词典IList
增加灵活性 13.xml里如果判断条件能单独处理如: 0”> id =?id </ if > </ where>
12 同意,13 将由 SmartExpression 提供支持。
@chenmfly 感谢支持。:smile:
sharding
能自动分页就好了
Redis提取到链接数据库模块,可用环境变量配置。
@liyuan0420 SmartSql-V4 已支持注入外部配置,见以下demo
services
.AddSmartSql((builder) =>
{
builder.UseProperties(Configuration);
})
.AddRepositoryFromAssembly(o =>
{
o.AssemblyString = "SmartSql.Sample.AspNetCore";
o.Filter = (type) =>
{
return type.Namespace == "SmartSql.Sample.AspNetCore.DyRepositories";
};
});
https://github.com/Smart-Kit/SmartSql/blob/master/sample/SmartSql.Sample.AspNetCore/Startup.cs#L26
迫切需要数据水平分片的支持,由于数据量很大后期需要将数据分片。 .net中目前没有开源的解决方案,经过分析只有java有相应的方案https://shardingsphere.apache.org/document/current/cn/features/sharding/
SmartSql-V4 意见征集
目标
计划
最小化可运行环境(only DataSource)
SmartSql-V4 recommends collecting
Goal
Plan