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.5.0.0 (5.5.18.1019)
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