ado.net - How to I get a DbCommand from an Entity Framework IQueryable -


when using linq sql, can use datacontext.getcommand method dbcommand instance iqueryable. i'm using entity framework (code-first, shouldn't matter) , want dbcommand iqueryable generated against dbcontext.

is possible? if how?

i'm not aware of method retrieve dbcommand linq-to-entities query can try convert query objectquery<t> , call commandtext property.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -