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

Problems when generating model

1 Answer 50 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan Morgan
Top achievements
Rank 1
Ryan Morgan asked on 04 Nov 2010, 06:09 PM
Hi Telerik Team,

I have Person, Worker and WorkerType tables

Person holds common properties for all persons, Worker is inherited table with TypeID additional column referencing WorkerType table. Also Worker ID key column references Person's ID key column.

When I generate domain model Worker entity is not added. Model schema explorer show this table as grayed out.
Is there way how to make all this three entities appear in the model? I want to have Worker class generated by the designer.

Thanks, Ryan

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 09 Nov 2010, 11:42 PM
Hello Ryan Morgan,

It seems your Worker table is detected as join table and that is why it is grayed out. Currently in all publicly available builds mapping of join tables to classes is not allowed, and unfortunately there is no workaround. However, with the new Q3 release (coming later this week) you will be able to set the new IsJoinTable property of the table to false and map the table to a class.

Greetings,
Alexander
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
Design Time (Visual Designer & Tools)
Asked by
Ryan Morgan
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or