Very Slow SQL generation on EF 4.0 RRS feed

  • Question

  • Hi,

    I noticed that sql code generation is very very slow.

    I mean, 50% of the time is used to generate the query and then it is passed to sql engine to be executed.

    Which component is used to generate the sql code ?
    Do I have any control to the generation of that ?
    Is there any tool that can help me debug this situation ?

    Please note that I don't say that queries are slow to be executed but the generation of the sql to be executed is slow.

    Any help appreciated.


    Thursday, September 20, 2012 4:03 PM