ORM Sample Class Library

RoomCollectionOrmTemplate.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 RoomCollection
[C#]
public RoomCollection 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 Rooms

See Also

RoomCollectionOrmTemplate Class | OleroTrainingBiz Namespace | RoomCollectionOrmTemplate.FilterBy Overload List


/td>