update

28810
2020-06-03 08:27:38 +08:00
parent 4210d84783
commit e21e2d0451

13
API.md

@@ -11,7 +11,7 @@
| UseGenerateCommandParameterWithLambda | this | 生成命令参数化执行,针对 lambda 表达式解析 |
| UseLazyLoading | this | 开启延时加载功能 |
| UseMonitorCommand | this | 监视全局 SQL 执行前后 |
| UseNameConvert | this | 自动转换实体、属性名称 Entity Property -\> Db Filed |
| **UseNameConvert** | this | 转换实体、属性名称 Entity Property -\> Db Filed |
| Build\<T\> | IFreeSql\<T\> | 创建一个 IFreeSql 对象,注意:单例设计,不要重复创建 |
# IFreeSql
@@ -27,16 +27,11 @@
| 方法 | 返回值 | 参数 | 说明 |
| -- | -- | -- | -- |
| Select\<TEntity\> | ISelect\<TEntity\> | 无 | 准备查询数据 |
| Select\<TEntity\> | ISelect\<TEntity\> | object | 准备查询数据 |
| Insert\<TEntity\> | IInsert\<TEntity\> | 无 | 准备插入 |
| Insert | IInsert\<TEntity\> | TEntity[] | 准备插入 |
| Insert | IInsert\<TEntity\> | TEntity[] | 准备插入 |
| Insert | IInsert\<TEntity\> | List\<TEntity\> | 准备插入 |
| Insert\<TEntity\> | IInsert\<TEntity\> | 无/TEntity/TEntity[] | 准备插入 |
| Update\<TEntity\> | IUpdate\<TEntity\> | 无 | 准备更新数据 |
| Update\<TEntity\> | IUpdate\<TEntity\> | object | 准备更新数据 |
| Delete\<TEntity\> | IDelete\<TEntity\> | 无 | 准备删除 |
| Delete\<TEntity\> | IDelete\<TEntity\> | object | 准备删除 |
| Transaction | void | Action | 开启事务(不支持异步),60秒未执行完将自动提交 |
| InsertOrUpdate\<TEntity\> | IInsertOrUpdate\<TEntity\> | 无 | 插入或更新数据 |
| Transaction | void | Action | 开启事务(不支持异步),[其他事务](https://github.com/2881099/FreeSql/wiki/%e4%ba%8b%e5%8a%a1) |
| 扩展方法 | 返回值 | 参数 | 说明 |
| -- | -- | -- | -- |