-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DBQuery() is obsolete in EF core 3.x #21947
Comments
What is the issue here? |
There no way to map the sp result into a class. Similar issue was closed without a solution. |
|
context.Set<Complex_DTO>().FromSql(sp).ToList(); but this works Thanks for your help. |
Updated. FromSql is obsolete in 3.x. FromSqlRaw or FromSqlInterpolated should be used according to use. |
[https://github.com//issues/19509]
EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
It´s easy to reproduce it.
The idea is to map the SP result into a class, it worked very well in EF Core 2.1.6
I personally do not understand why the team removed it
Base on the same code @ajcvickers used..
The text was updated successfully, but these errors were encountered: