0
kwanp created
Hi My version: ASP.NET CORE & Angular V10.4.0 with .NET 5 I just update my project to the new version V10.4.0 but error on Context.Database.ExecuteSqlCommandAsync error said: cannot find the Context and ExecuteSqlCommandAsync how can i fix this issue
Thank you
1 Answer(s)
-
0
Hi,
This is a breaking change on EF Core side, please check https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.x/breaking-changes#fromsql-executesql-and-executesqlasync-have-been-renamed