EntityDefinitionGetAllFieldsInElement Method (Boolean, Boolean) |
Gets all fields (normal fields, identifying fields, foreign key fields) in this element, ordered on fieldindex and then name, ascending.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax public override IEnumerable<IFieldElementCore> GetAllFieldsInElement(
bool includeInherited,
bool includeIdentifyingFieldsForSubtypes
)
Public Overrides Function GetAllFieldsInElement (
includeInherited As Boolean,
includeIdentifyingFieldsForSubtypes As Boolean
) As IEnumerable(Of IFieldElementCore)
Parameters
- includeInherited
- Type: SystemBoolean
if set to inherited fields are included as well. - includeIdentifyingFieldsForSubtypes
- Type: SystemBoolean
If set to true, identifying fields are always included, otherwise only for supertypes.
Only has effect if includeInherited is set to false, otherwise identifying fields are always included
Return Value
Type:
IEnumerableIFieldElementCore
Returns all fields, foreign key fields and identifying fields (if requested) ordered by fieldindex and then name ascending
Remarks All inherited fields will be up front, following the fields of the element with the root's fields at the top.
See Also