- 增加 IAdo.GetDbParamtersByObject 方法获取 DbParameter[];

This commit is contained in:
28810
2020-08-17 13:59:27 +08:00
parent 7dd8eacce3
commit f43d42bc2e
6 changed files with 40 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ namespace FreeSql.Internal.CommonProvider
protected abstract void ReturnConnection(IObjectPool<DbConnection> pool, Object<DbConnection> conn, Exception ex);
protected abstract DbCommand CreateCommand();
protected abstract DbParameter[] GetDbParamtersByObject(string sql, object obj);
public DbParameter[] GetDbParamtersByObject(object obj) => GetDbParamtersByObject("*", obj);
protected bool IsTracePerformance => _util?._orm?.Aop.CommandAfterHandler != null;