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

Oracle Child Relationships Not Imported

1 Answer 63 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ET
Top achievements
Rank 1
ET asked on 22 Feb 2010, 09:37 PM
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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 25 Feb 2010, 05:27 PM
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.

Regards,
Ady
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
Databases and Data Types
Asked by
ET
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or