GroupByCollectionContainsTEntityField 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.11.0.0 (5.11.23.1114)
Syntax public bool Contains<TEntityField>(
TEntityField fieldToCheck
)
where TEntityField : IEntityFieldCore
Public Function Contains(Of TEntityField As IEntityFieldCore) (
fieldToCheck As TEntityField
) As Boolean
Parameters
- fieldToCheck
- Type: TEntityField
entity field to check for presence.
Type Parameters
- TEntityField
Return Value
Type:
Booleantrue if a similar field is found in the collection, false otherwise.
Implements
IGroupByCollectionContainsTEntityField(TEntityField)See Also