From 97c79f919fcdf5c2434d5257ba3f784ed1c63977 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 12 Dec 2022 16:21:44 +0800 Subject: Develop secret api. v30 --- docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs') diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs index 9400a7b..53424a4 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs @@ -41,7 +41,7 @@ public class CrudService : IDisposable where TEntity : class public List Select(IWhereClause? filter) { - return _table.Select(_dbConnection, filter).Cast().ToList(); + return _table.Select(_dbConnection, null, filter).ToList(); } public bool Exists(IWhereClause? filter) @@ -60,7 +60,7 @@ public class CrudService : IDisposable where TEntity : class return _table.Insert(_dbConnection, insertClause); } - // Return the key. + // Return the key. TODO: Continue here. public object Insert(TEntity entity) { return _table.Insert(_dbConnection, ); -- cgit v1.2.3