locked
Dynamic data Entity in VS 2012 RRS feed

  • Question

  • User1230423310 posted

    I'm having the error: 

    The context type 'WebApplication1.testeEntities' is not supported.


    when i add my context in global.asax. I did the same steps as in VS2010, but now i'm getting this error...What's wrong, or what's changed in VS2012?

    Tuesday, May 21, 2013 6:59 AM

Answers

  • User260886948 posted

    The context type 'WebApplication1.testeEntities' is not supported.

    Hi,

    When occur the below error, you have to change the code generation type in the EF data model.

    1. Delete the TT files from the model

    2. Change the "Code Generation Stategy" to "Default"

    For more information, please try to refer to:
    http://forums.asp.net/t/1842714.aspx/1/10.

    Hope it can help you.

    Best Regards,
    Amy Peng 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 29, 2013 2:34 AM