Project.GetAllRelatedFieldElementsForEntity Method (EntityDefinition, Boolean) | 
 
            Gets all RelatedFieldElements for entity. A RelatedFieldElement is an element which represents a related field over an 1:1 / m:1 relationship.
            The field can be an inherited field.
            
 
    Namespace: 
   SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
    Assembly:
   SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntaxpublic IEnumerable<RelatedFieldElement> GetAllRelatedFieldElementsForEntity(
	EntityDefinition entity,
	bool forForeignKeyFields
)
Public Function GetAllRelatedFieldElementsForEntity ( 
	entity As EntityDefinition,
	forForeignKeyFields As Boolean
) As IEnumerable(Of RelatedFieldElement)
Parameters
- entity
 - Type: SD.LLBLGen.Pro.ApplicationCore.EntityModel.EntityDefinition
The entity. - forForeignKeyFields
 - Type: System.Boolean
if set to true only identifying fields are returned. Identifying fields over inherited relationships are ignored 
Return Value
Type: 
IEnumerable<RelatedFieldElement>enumerable with all related field elements for the entity over m:1/1:1 relationships with respect to the identifyingFieldsOnly flag
See Also