This question is locked. New answers and comments are not allowed.
Hi,how are you?
I'm trying to establish a relation beetween two classes by using a property of a class. The problem is that the property that I need as the key of the relation, is not a property of the class that I'm using in the relation. Otherwise the property that I need, is a child of one of the properties that I have in the class. I'm going to give an example:
This works great:
I'm trying to establish a relation beetween two classes by using a property of a class. The problem is that the property that I need as the key of the relation, is not a property of the class that I'm using in the relation. Otherwise the property that I need, is a child of one of the properties that I have in the class. I'm going to give an example:
This works great:
relation.FieldNames.Add(
new FieldDescriptorNamePair("IdComponent", "IdComponent"));
But when I need this, It's not working:
relation.FieldNames.Add(new FieldDescriptorNamePair("IdComponent", "Requirement.IdComponent"));
How can I get this functionality?
Thanks a lot
Juan Giraldo...