diff --git a/API.md b/API.md index d80d2d6..c405cd9 100644 --- a/API.md +++ b/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\ | IFreeSql\ | 创建一个 IFreeSql 对象,注意:单例设计,不要重复创建 | # IFreeSql @@ -27,16 +27,11 @@ | 方法 | 返回值 | 参数 | 说明 | | -- | -- | -- | -- | | Select\ | ISelect\ | 无 | 准备查询数据 | -| Select\ | ISelect\ | object | 准备查询数据 | -| Insert\ | IInsert\ | 无 | 准备插入 | -| Insert | IInsert\ | TEntity[] | 准备插入 | -| Insert | IInsert\ | TEntity[] | 准备插入 | -| Insert | IInsert\ | List\ | 准备插入 | +| Insert\ | IInsert\ | 无/TEntity/TEntity[] | 准备插入 | | Update\ | IUpdate\ | 无 | 准备更新数据 | -| Update\ | IUpdate\ | object | 准备更新数据 | | Delete\ | IDelete\ | 无 | 准备删除 | -| Delete\ | IDelete\ | object | 准备删除 | -| Transaction | void | Action | 开启事务(不支持异步),60秒未执行完将自动提交 | +| InsertOrUpdate\ | IInsertOrUpdate\ | 无 | 插入或更新数据 | +| Transaction | void | Action | 开启事务(不支持异步),[其他事务](https://github.com/2881099/FreeSql/wiki/%e4%ba%8b%e5%8a%a1) | | 扩展方法 | 返回值 | 参数 | 说明 | | -- | -- | -- | -- |