aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-12 16:54:45 +0800
committercrupest <crupest@outlook.com>2022-12-20 20:32:53 +0800
commitce8adb2c5ff7d71592a4173eb06391b01cc45f22 (patch)
treeffe25377d95f0d1ace232017a4068dacd91aef4f /docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/CrudService.cs
parent48742e28c612b9c1b2b1435cdd32152f61041645 (diff)
downloadcrupest-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.cs12
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();
- }
}