Designer doesn't generate extra property after adding child tabel containing foreign keys

Thread is closed for posting
2 posts, 1 answers
  1. Skywalker
    Skywalker avatar
    67 posts
    Member since:
    Sep 2007

    Posted 09 Sep 2010 Link to this post

    I just added a new database table (Table B)using SQL Server Management Studio Express and updated the domain model using the OA Designer. I then mapped that table to a class.
    Since that new table contains a foreign key to an existing table (Table A), the OA designer correctly generated an assocation and a IList<> property in the TableA class: IList<TableB>.

    However, that list property does not show up in the designer as a meta property. If I manually add a property, OA generates a duplicate property.

    Attached you will find a screenshot of the designer. The actual tables / classes I'm talking about are called Message and Avatar (an Avatar owns Messages). As you'll see, the Avatar model doesn't have a Messages property (but the gen code does).

    Am I doing something wrong?
  2. Answer
    Petko_I avatar
    184 posts

    Posted 14 Sep 2010 Link to this post

    Hi Skywalker,

    We are aware of this issue. You are not doing anything wrong. The problem is put in our high-priority list for resolution and will be fixed for the next distribution. The entity diagram is not updated properly. Since the generated code is fine you should not experience any problems when working with the domain model.

    Thanks again for the valuable input. Do not hesitate to contact us again, should you find anything troubling or you need any assistance.

    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