none
How change SQL generated by Entityframework RRS feed

  • Question

  • Hello

    How can I change SQL code generated by EntityFramework?

    When I add an entity from MySql database the code generated in select sentence is not correct. This only occurs with one entity, the others are ok.

    thaks

    Thursday, January 23, 2014 5:54 PM

Answers

  • Hello,

    >>How can I change SQL code generated by EntityFramework?

    Unfortunately, the T-SQL is generated by the Entity Framework providers, we cannot change it.

    >>When I add an entity from MySql database the code generated in select sentence is not correct.

    Since you are using MySql database, do you install the corespondent Entity Framework provider provided by MySql?

    The Entity Framework provider for MySql database.

    http://dev.mysql.com/downloads/connector/net/6.0.html

    Or you can post this issue to forum below:

    http://forums.mysql.com/list.php?38

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 24, 2014 3:22 AM
    Moderator

All replies