DatabaseFacade does not contain a definition for 'ExecuteSqlCommand' – Asp.net
I wish to run a raw SQL Delete Query on EF Core and I am suing the following guide to help me along: https://learn.microsoft.com/en-us/ef/ef6/querying/raw-sql The code: using (accountingContext db = new()) { db.Database.ExecuteSqlCommand("DELETE FROM ..."); } but I get the…