diff options
author | crupest <crupest@outlook.com> | 2022-12-20 19:25:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-20 20:32:53 +0800 |
commit | 41ba5e625d22543a4531df749abc3e74da6aaef1 (patch) | |
tree | 85b7b1413518d5ff72c804085cac11a07862807e /docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs | |
parent | 807ffbc0edf25754351c71af147cb58beaaf1498 (diff) | |
download | crupest-41ba5e625d22543a4531df749abc3e74da6aaef1.tar.gz crupest-41ba5e625d22543a4531df749abc3e74da6aaef1.tar.bz2 crupest-41ba5e625d22543a4531df749abc3e74da6aaef1.zip |
Develop secret api. v50
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs index 0565561..c1f647b 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/TableInfo.cs @@ -537,14 +537,6 @@ CREATE TABLE {tableName}( return key ?? throw new Exception("No key???"); } - public object Insert(IDbConnection dbConnection, object entity) - { - Debug.Assert(EntityType.IsInstanceOfType(entity)); - var insert = ConvertEntityToInsertClause(entity); - return Insert(dbConnection, insert); - } - - /// <summary> /// Upgrade a entity and call hooks. /// </summary> |