mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Use safer SQL calls.
This commit is contained in:
@@ -143,7 +143,7 @@ public sealed class UpdateStatsViewModel : ViewModelBase
|
||||
|
||||
Dispatcher.UIThread.Post(() => { StatusMessage = Localization.RemovingOldStatistics; });
|
||||
|
||||
ctx.Database.ExecuteSqlRaw("DELETE FROM \"RomSetStats\"");
|
||||
ctx.Database.ExecuteSql($"DELETE FROM \"RomSetStats\"");
|
||||
|
||||
Dispatcher.UIThread.Post(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user