Click or drag to resize

IGroupByCollectionContainsTEntityField Method

Checks if the field is in the list. Does a value compare, not an object reference compare.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
bool Contains<TEntityField>(
	TEntityField fieldToCheck
)
where TEntityField : IEntityFieldCore

Parameters

fieldToCheck
Type: TEntityField
Entity field to check for presence.

Type Parameters

TEntityField

Return Value

Type: Boolean
true if a similar field is found in the collection, false otherwise.
See Also