Problems when generating model

Thread is closed for posting
2 posts, 0 answers
  1. Ryan Morgan
    Ryan Morgan avatar
    26 posts
    Member since:
    Dec 2006

    Posted 04 Nov 2010 Link to this post

    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

  2. Alexander
    Alexander avatar
    727 posts

    Posted 09 Nov 2010 Link to this post

    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.

    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
Back to Top