Oracle Child Relationships Not Imported

2 posts, 0 answers
  1. ET
    ET avatar
    4 posts
    Member since:
    Feb 2010

    Posted 22 Feb 2010 Link to this post

    Environment: OpenAccess ORM on top of Oracle 11

    I'm using the reverse mapping from tables feature and it is not detecting child references in my schema (i.e. Customer -> Orders).

    The Child -> Parent references are all being imported properly (i.e. order has a corresponding customer property).

    Am I missing something? Shouldn't it detect the parent -> child reference automatically as well?

  2. Ady
    Ady avatar
    588 posts

    Posted 25 Feb 2010 Link to this post

    Hi ET,

     OpenAccess detects the Foreign Keys defined between various tables and appropriately creates a reference field for each. Using you example, I assume you want a collection of Order instances in the Customers class. This can be achieved by selecting the reference field - customer, in the Orders class and checking the 'Create one-to-many list'

      Hope this helps.

    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