-
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
Create ToSql extension method #9414
Comments
Updated method which works in 2.0.0 RTM
duplicate of #6482 |
updated, I have refined the code and replaced the hack code(Reflection) with GetService() |
Hello, the method in the link does not include |
Hi EF guys,
The ToSql method i'm using comes from:
http://rion.io/2016/10/19/accessing-entity-framework-core-queries-behind-the-scenes-in-asp-net-core/
The current implementation of ToSql was working fine for .net core 1.1 but is failing with 2.0 probably because of use of internal/hidden implementation.
Can the EF team incorporate this extension method on the next release? How can i correct the current implementation?
Further technical details
EF Core version: 2.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 7 x64
IDE: Visual Studio 2017 15.3.0
The text was updated successfully, but these errors were encountered: