diff options
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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<TEntity> : IDisposable where TEntity : class public List<TEntity> Select(IWhereClause? filter) { - return _table.Select(_dbConnection, filter).Cast<TEntity>().ToList(); + return _table.Select<TEntity>(_dbConnection, null, filter).ToList(); } public bool Exists(IWhereClause? filter) @@ -60,7 +60,7 @@ public class CrudService<TEntity> : 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, ); |