diff options
author | crupest <crupest@outlook.com> | 2022-12-12 16:54:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-20 20:32:53 +0800 |
commit | ce8adb2c5ff7d71592a4173eb06391b01cc45f22 (patch) | |
tree | ffe25377d95f0d1ace232017a4068dacd91aef4f /docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs | |
parent | 48742e28c612b9c1b2b1435cdd32152f61041645 (diff) | |
download | crupest-ce8adb2c5ff7d71592a4173eb06391b01cc45f22.tar.gz crupest-ce8adb2c5ff7d71592a4173eb06391b01cc45f22.tar.bz2 crupest-ce8adb2c5ff7d71592a4173eb06391b01cc45f22.zip |
Develop secret api. v30
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs index 53424a4..f0af62a 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs @@ -60,12 +60,6 @@ public class CrudService<TEntity> : IDisposable where TEntity : class return _table.Insert(_dbConnection, insertClause); } - // Return the key. TODO: Continue here. - public object Insert(TEntity entity) - { - return _table.Insert(_dbConnection, ); - } - public int Update(IUpdateClause updateClause, IWhereClause? filter) { return _table.Update(_dbConnection, filter, updateClause); @@ -90,10 +84,4 @@ public class CrudService<TEntity> : IDisposable where TEntity : class { return SelectAsJson(WhereClause.Create().Eq(_table.KeyColumn.ColumnName, key)).Single(); } - - public object InsertFromJson(JsonDocument? json) - { - // TODO: Implement this. - throw new NotImplementedException(); - } } |