Select to view content in your preferred language

Inclide Relationship Attributes in Query

2987
1
Jump to solution
12-12-2013 12:40 PM
AlexeiB
Deactivated User
Hi There,

I have a Feature Class, FC1, and a Table, TBL1, related via a Relationship, RLT1.
RLT1 has 2 foreign keys (FC1_FK, and TBL_FK) and 2 attributes (ATR1, ATR2).

In C# I am trying to query related information to FC1 via RLT1. I am getting all the attribute information from TBL1 but I am not getting ATR1 and ATR2 from the relationship. Is there any way I can query these attributes from the relationship table?

I am using the RelationshipParameter class and specify the ObjectIds, RelationshipId, and the OutFields. The outfields I specify as *.
Again, I am able to get the related information but am missing the information about the relation stored in the actual relationship table.

Does anyone have any ideas?

Thank you,
0 Kudos
1 Solution

Accepted Solutions
AlexeiB
Deactivated User
I resolved the problem by creating a QueryLayer and retrieving the data that way.

View solution in original post

0 Kudos
1 Reply
AlexeiB
Deactivated User
I resolved the problem by creating a QueryLayer and retrieving the data that way.
0 Kudos