none
Error_1 Error 3027: No mapping specified for the following EntitySet/AssociationSet

    Question

  • Hi ,

    im new to EF , i designed entities using model first approach , created entities and made associations between many entities (1-to-1 and 1-to-M)

    but im getting this error :

    Error 1 Error 3027: No mapping specified for the following EntitySet/AssociationSet - vehicles, personDetails, salereceipts.

    What should i need to do to correct this error

    Thanks

    Saturday, August 11, 2012 7:49 AM

Answers

  • Hi Shan,

    There is a similar (and older) thread in the forums.asp.net and also here.

    It could be that you don't have the corresponding tables in your database yet. In other words you need to generate the DB from the Model.

    You should try to create the DB SQL script, and execute it. Afterwards, try to recompile and check if the error is gone.

    Hope this helps!


    Best Regards,
    Carlos Sardo





    Sunday, August 12, 2012 4:41 PM