Comments (16)
Oh... sharding ..
from smartsql.
@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
from smartsql.
12.集成EF Core
from smartsql.
6简单的单表CUD实现就成了
from smartsql.
12.返回类型 键值对 如: Dictionary IList<Dictionary> 增加灵活性
13.xml里where if判断条件能单独处理如:<where> <if test="id>0" >id=?id </if> </where>
from smartsql.
@ghd258 SmartSql 跟 EF Core 都是ORM,不理解你指的集成是啥意思?
from smartsql.
支持,蛮好的!
from smartsql.
支持一对多实体列表返回值映射
from smartsql.
提供更友好的异常日志,过滤掉通过smartsql引起的系统异常
from smartsql.
12.返回类型键值对如:词典IList 增加灵活性
13.xml里如果判断条件能单独处理如: 0”> id =?id </ if > </ where>
12 同意,13 将由 SmartExpression 提供支持。
from smartsql.
@chenmfly 感谢支持。:smile:
from smartsql.
sharding
from smartsql.
from smartsql.
能自动分页就好了
from smartsql.
Redis提取到链接数据库模块,可用环境变量配置。
from smartsql.
迫切需要数据水平分片的支持,由于数据量很大后期需要将数据分片。
.net中目前没有开源的解决方案,经过分析只有java有相应的方案https://shardingsphere.apache.org/document/current/cn/features/sharding/
from smartsql.
Related Issues (20)
- 实现mybatis 的 Example HOT 2
- 升级到net5 HOT 7
- Where或者Dynamic没有任何命中时,会产生不合法的语句 HOT 2
- 找不到配置项的异常提示有点迷 HOT 5
- where条件里In查询是怎么写的 HOT 1
- select * 报错,改为select id,name.... 全部列名就没事 HOT 2
- 升级版本后ISmartSqlMapper,SmartSql.Abstractions找不到
- 建议将DbProvider的配置放到配置文件中 HOT 12
- for
- 哪里有smartsql的学习网站,感觉官网写的太笼统了,而且用的人也不是很多 HOT 4
- Oracle 中的union all 语句 smartsql不支持,请帮忙看下。 HOT 4
- IList<string> List<T> 类似的泛型在反序列化时报错
- SmartSql目前是否还在维护?
- The unit test project (SmartSql.Test.Unit) uses MySql as the database for easy integration testing. HOT 1
- Dependency Dashboard
- 最近一次修改SqlText.cs中的正则表达式,会导致有些情况下匹配错误
- 使用In时,当集合元素过多时,执行效率会大幅降低 HOT 4
- Settings.ParameterPrefix is not affected in method using StatementAttribute HOT 2
- Oracle存储过程,返回参数没有游标
- Parameter新增DbType属性,直接指定数据库字段类型,无需配置TypeHandler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartsql.