We're a little confused with the GetRelationInfo method of an Entity, particularly with the naming scheme.
For example, we have a table defined as:
CREATE TABLE order
(
id INTEGER PRIMARY KEY,
first_contact_id INTEGER REFERENCES contact(id),
second_contact_id INTEGER REFERENCES contact(id)
third_order_detail_id INTEGER REFERENCES contact(id)
)
However, whenever we try to retrieve an EntityCollection from the contact table, we are presented with 3 methods:
OrderEntity.GetRelationInfoContact()
OrderEntity.GetRelationInfoContact()
OrderEntity.GetRelationInfoContact_()
The only way we can tell the 3 apart is to look back in the EntityClasses source code. Is there an easier way? The underscore logic seems to be used in multiple areas, and since we have lots of tables with multiple references to the same table like above, the code is rather confusing.
Thank you,
Josh Lindenmuth