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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -