Just updated all the things and had to fix a bunch of stuff to get rid of the compiler errors, haven't run anything yet, just got it to compile at this point.
This commit is contained in:
@@ -452,7 +452,7 @@ namespace AyaNova.Biz
|
||||
//Be careful in future, if you put ToString at the end of each object in the string interpolation
|
||||
//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;
|
||||
ct.Database.ExecuteSqlCommand($"delete from asearchkey where objectid={objectID} and objecttype={(int)objectType}");
|
||||
ct.Database.ExecuteSqlInterpolated($"delete from asearchkey where objectid={objectID} and objecttype={(int)objectType}");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user