This is a migrated thread and some comments may be shown as answers.

Views Problem

1 Answer 20 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
kunal
Top achievements
Rank 1
kunal asked on 13 Sep 2010, 08:11 AM
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.

1 Answer, 1 is accepted

Sort by
0
Damyan Bogoev
Telerik team
answered on 13 Sep 2010, 04:00 PM
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
Tags
Development (API, general questions)
Asked by
kunal
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Share this question
or