ProjectGetAllRelatedFieldElementsForEntity 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.7.0.0 (5.7.0)
Syntax public 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.EntityModelEntityDefinition
The entity. - forForeignKeyFields
- Type: SystemBoolean
if set to true only identifying fields are returned. Identifying fields over inherited relationships are ignored
Return Value
Type:
IEnumerableRelatedFieldElementenumerable with all related field elements for the entity over m:1/1:1 relationships with respect to the identifyingFieldsOnly flag
See Also