ORM Sample Class Library

ContactCollectionOrmTemplate.FilterBy Method (String, Object, CompareType)

Filter by the provided property name

[Visual Basic]
Overloads Public Function FilterBy( _
   ByVal property As String, _
   ByVal searchValue As Object, _
   ByVal comparer As CompareType _
) As ContactCollection
[C#]
public ContactCollection FilterBy(
   string property,
   object searchValue,
   CompareType comparer
);

Parameters

property
The property to filter on
searchValue
The value to search for
comparer
How to compare the property to the search value

Return Value

A collection of Contacts

See Also

ContactCollectionOrmTemplate Class | OleroTrainingBiz Namespace | ContactCollectionOrmTemplate.FilterBy Overload List


/td>