Comments (5)
新增 Insert / Update / Select / Delete 强语义化标签
from smartsql.
能否增加像 EF 的 CodeFirst 一样的管理数据库的方式。根据Model智能生成或更新数据库结构。
from smartsql.
@ywj6792341 SmartSql 的设计宗旨并不是 CodeFirst ,而是希望开发人员更多的了解Sql,对Sql拥有绝对的控制权,以获得灵活性与性能。所以该建议不能采纳,不过还是感谢你的参与,让SmartSql可以变得更好。
from smartsql.
类似ibatis的TypeHandlder实现,用来对特定类型的字段进行读写前后的转换。如json、xml。
建议自带几个常用的序列化器,再提供接口给使用者自己实现,并通过key来注册到smartsql中。而模板中使用字段上的属性type=“key”来标识,如赋值 Images= [@images,Type="json"]
,读取SELECT [Images,Type="json"] FROM...
可以把这个特性的名称改成vue、angular里的“指令”。
from smartsql.
增加对包含o私有无参构造方法或公有有参构造方法支持和私有setter属性的实体的反序列化支持。实体示例如下:
public class Sample
{
public string Name {get;private set;}
private Sample(){}
public Sample(string name)
{
Name=name;
}
}
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.