This commit is contained in:
2020-05-10 23:54:16 +00:00
parent f3f9b0ace5
commit 88f1022289
3 changed files with 14 additions and 7 deletions

View File

@@ -686,6 +686,7 @@ namespace AyaNova.Biz
//npgsql driver will assume it's a string and put quotes around it triggering an error that a string can't be compared to an int
AyContext ct = ServiceProviderProvider.DBContext;
await ct.Database.ExecuteSqlInterpolatedAsync($"delete from asearchkey where objectid={objectID} and objecttype={(int)objectType}");
//nothing to save here, it's a direct command already executed
}