Skip to main content

ODataServerModeSource.FixedFilterString Property

Specifies a string representation of an expression used to filter objects on the data store side. This filter is never affected by bound data-aware controls.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v24.2.dll

Declaration

[DefaultValue("")]
public string FixedFilterString { get; set; }

Property Value

Type Default Description
String String.Empty

A string specifying the filter expression applied to data on the data store side.

Remarks

For information and examples on how to create filter expressions, see Criteria Language Syntax.

You can also specify filter criteria via the ODataServerModeSource.FixedFilterCriteria property. The FixedFilterString and ODataServerModeSource.FixedFilterCriteria properties are synchronized. When a filter expression is assigned to the FixedFilterString property, an equivalent CriteriaOperator is created and assigned to the ODataServerModeSource.FixedFilterCriteria property. When a CriteriaOperator is assigned to the ODataServerModeSource.FixedFilterCriteria property, the FixedFilterString property is modified accordingly.

A data-aware control bound to a ODataServerModeSource can provide its own filtering. Changing the filter via the data-aware control does not modify the FixedFilterString property and vice versa.

 

See Also