IRecordFilter Interface

Defines an interface for a filter that can be applied to queries.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.167 -- Release Build+a63d2f336930b0b8a2e0d51bc652b0af46e5d00a
public interface IRecordFilter

Remarks

For backend restrictions RecordRestriction should be used. This interface is intended to be used for user initiated searches and filters from a UI.

Properties

FieldName Gets or sets the name of the field to be searched.
ModelProperty The PropertyInfo of the model that this IRecordFilter applies to.
Operator Gets or sets the operator to be used for the search.
SearchParameter Gets or sets the value to be searched.
SupportsEncrypted Indicates whether this IRecordFilter will work on encrypted fields.

Methods

GenerateRestriction Generates a RecordRestriction that corresponds to this IRecordFilter.

See Also