From e9b958cc41a3b941d878fd455e297a50e050be1a Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 19 Dec 2022 12:24:54 +0800 Subject: Develop secret api. v43 --- docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs') diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs index b552e6b..3147e99 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs @@ -393,7 +393,7 @@ CREATE TABLE {tableName}( /// /// ConvertParameters. Select. Call hooks. /// - public virtual List SelectDynamic(IDbConnection dbConnection, string? what, IWhereClause? where = null, IOrderByClause? orderBy = null, int? skip = null, int? limit = null) + public virtual List SelectDynamic(IDbConnection dbConnection, string? what = null, IWhereClause? where = null, IOrderByClause? orderBy = null, int? skip = null, int? limit = null) { var (sql, parameters) = GenerateSelectSql(what, where, orderBy, skip, limit); var queryResult = dbConnection.Query(sql, ConvertParameters(parameters)); @@ -431,7 +431,7 @@ CREATE TABLE {tableName}( /// /// Select and call hooks. /// - public virtual List Select(IDbConnection dbConnection, string? what, IWhereClause? where = null, IOrderByClause? orderBy = null, int? skip = null, int? limit = null) + public virtual List Select(IDbConnection dbConnection, string? what = null, IWhereClause? where = null, IOrderByClause? orderBy = null, int? skip = null, int? limit = null) { List queryResult = SelectDynamic(dbConnection, what, where, orderBy, skip, limit).ToList(); -- cgit v1.2.3