GroupByCollectionAddTEntityField Method |
Adds the passed in entity field instance to the list. entity fields can be added just once.
If the field is already in the collection, the index of the field in the list is returned.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax public int Add<TEntityField>(
TEntityField fieldToAdd
)
where TEntityField : IEntityFieldCore
Public Function Add(Of TEntityField As IEntityFieldCore) (
fieldToAdd As TEntityField
) As Integer
Parameters
- fieldToAdd
- Type: TEntityField
entity field instance to add
Type Parameters
- TEntityField
Return Value
Type:
Int32Index of added field in the list.
Implements
IGroupByCollectionAddTEntityField(TEntityField)See Also