Click or drag to resize

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.9.0.0 (5.9.0)
Syntax
public IEnumerable<RelatedFieldElement> GetAllRelatedFieldElementsForEntity(
	EntityDefinition entity,
	bool forForeignKeyFields
)

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: IEnumerableRelatedFieldElement
enumerable with all related field elements for the entity over m:1/1:1 relationships with respect to the identifyingFieldsOnly flag
See Also