GroupableModelElementGetAllFieldsInElement Method (Boolean, Boolean) |
Gets all fields (normal fields, identifying fields, foreign key fields) in this element, ordered on field index and then name, ascending.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax public virtual IEnumerable<IFieldElementCore> GetAllFieldsInElement(
bool includeInherited,
bool includeIdentifyingFieldsForSubtypes
)
Public Overridable 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