IDataAttributeFilterBy Method |
Creates and returns filter condition for the data attribute
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
SyntaxFilterCondition FilterBy(
ComparisonType comparisonType,
Object value,
bool includeNulls = false
)
Function FilterBy (
comparisonType As ComparisonType,
value As Object,
Optional includeNulls As Boolean = false
) As FilterCondition
FilterCondition^ FilterBy(
ComparisonType^ comparisonType,
Object^ value,
bool includeNulls = false
)
abstract FilterBy :
comparisonType : ComparisonType *
value : Object *
?includeNulls : bool
(* Defaults:
let _includeNulls = defaultArg includeNulls false
*)
-> FilterCondition
Parameters
- comparisonType
- Type: Aloe.SystemFrameworks.Domain.DataAccessComparisonType
Comparison operator to apply - value
- Type: SystemObject
The value against which to compare - includeNulls (Optional)
- Type: SystemBoolean
Shall NULL attribute values be included in the result
Return Value
Type:
FilterConditionSearchArgument, which contains the filter condition
Remarks
The FilterBy method is the primary means for creating filters for the objects. This method
returns search argument, which filters the object, comparing the attribute value with the
specified value, using the specified comparisonType.
When includeNulls == true, the results also contain the objects, where the attribute value
is null.
See Also