Click or drag to resize

RelationshipInfoGetRelationshipFieldPairs Method

Gets the relationship field pairs from the point of view of the side this relationshipinfo is for. This means that Value1 of a pair instance returned is the field in the entity this relationship info is for, and Value2 is a field in the related entity, for the relationship this relationship info is for. If the relationship is an m:n relationship, an empty list is returned

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public IEnumerable<Pair<IFieldElementCore, IFieldElementCore>> GetRelationshipFieldPairs()

Return Value

Type: IEnumerablePairIFieldElementCore, IFieldElementCore
the requested set of field pairs. Value1 is the field in ForEntity, Value2 is the field in RelatedEntity.
See Also