SearchClassOptionsAttribute.IncludeMembersInCriteria Property
Indicates whether to include or exclude the target class’ properties from the search performed by the FullTextSearch Action (see FilterController.FullTextFilterAction).
Namespace: DevExpress.ExpressApp.Filtering
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
SearchMemberMode | The SearchMemberMode enumeration value specifying whether to include or exclude the target class’ properties from the search performed by the FullTextSearch Action. |
Remarks
This property is specified by the includeMembersInCriteria parameter passed in the SearchClassOptionsAttribute, applied to a business class. The following values are possible:
Include
The search is allowed within all the properties of the target class. So, all the properties that are specified by the FilterController.FullTextSearchTargetPropertiesMode will be used in the search performed by the FullTextSearch Action.
Note that individual properties will be excluded from the search scope, if they use the SearchMemberOptionsAttribute with the SearchMemberMode.Exclude parameter value.
Exclude
The search is not allowed within all the properties of the target class.
Note that individual properties will be included in the search scope if they use the SearchMemberOptionsAttribute with the SearchMemberMode.Include parameter value, and satisfy the Filter Controller’s FullTextSearchTargetPropertiesMode.