DataAttributeBaseTObjectFilterBy 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
Syntaxpublic abstract FilterCondition FilterBy(
ComparisonType comparisonType,
Object value,
bool includeNulls = false
)
Public MustOverride Function FilterBy (
comparisonType As ComparisonType,
value As Object,
Optional includeNulls As Boolean = false
) As FilterCondition
public:
virtual FilterCondition^ FilterBy(
ComparisonType^ comparisonType,
Object^ value,
bool includeNulls = false
) abstract
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
Implements
IDataAttributeFilterBy(ComparisonType, Object, Boolean)
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