Click or drag to resize

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.11.0.0 (5.11.23.1114)
Syntax
public int Add<TEntityField>(
	TEntityField fieldToAdd
)
where TEntityField : IEntityFieldCore

Parameters

fieldToAdd
Type: TEntityField
entity field instance to add

Type Parameters

TEntityField

Return Value

Type: Int32
Index of added field in the list.

Implements

IGroupByCollectionAddTEntityField(TEntityField)
See Also