-
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
Allow creation of a DbCommand from an EF IQueryable #19358
Comments
Looking at the Source of CreateDbCommand it looks like that the command must be executed before the cache is populated. Is there a way to get the command without actually executing the |
@Giorgi What "cache" are you referring to? |
I mean this code:
|
The code that I linked to in my first comment calls source.Provider.Execute so I guess that is needed to populate the |
@Giorgi The code for CreateDbCommand does not execute the command. Also, as far as I can tell, it will populate/use the command cache. |
See #19335
For example:
Things to note:
The text was updated successfully, but these errors were encountered: