Views Problem

2 posts, 0 answers
  1. kunal
    kunal avatar
    11 posts
    Member since:
    Jan 2009

    Posted 13 Sep 2010 Link to this post

    hi friends
    i m using Telerik 2010 with ORM 2010 and MYSQL Database...
    i create views and i want  class on views for that  i m using revers engineering ..
    but after code generation it gives error in class file ..
    Error is  as follows....

    //***Telerik OpenAccess - Reverse Engineering errors***
    #error No primary key fields specified.

    because my views having 2 table and it contain ONE to MANY relation ship.
    how i define primary key ? And views does not having identity column.
  2. Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 13 Sep 2010 Link to this post

    Hi kunal,

    I recommend that you read this help article which explains how to reverse map and use database views with Telerik OpenAccess ORM.
    I hope that helps.

    Regards,
    Damyan Bogoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top