none
missing code for some table after used reverse engineer code first RRS feed

  • Question

  • missing code for some  table after used reverse engineer code first 

    all tables do not have primary key

    some of them success to create code, however some of them not created


    Designer

    Friday, June 21, 2013 4:17 AM

Answers

  • after trial in SQL server 2008, there is some missing table code too

    we guess the schema is different, haven't found where is wrong.

    finally, i type by hand for the rest of class


    Designer


    Wednesday, June 26, 2013 7:46 AM

All replies

  • Hi zvzzvz,

    You need to add the primary keys to all tables. In fact, EF doesn't work with the tables which doesn't contain the primary key.

    Best regards,


    Chester Hong
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

    Tuesday, June 25, 2013 7:03 PM
    Moderator
  • after trial in SQL server 2008, there is some missing table code too

    we guess the schema is different, haven't found where is wrong.

    finally, i type by hand for the rest of class


    Designer


    Wednesday, June 26, 2013 7:46 AM