Gemstone Data Library
Show/Hide TOC

# RecordFilter T Class

Defines a filter that can be applied to queries.

## Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.180 -- Release Build+0e3c143567ac1e22ccabc137e6e7d5395a9784d8
C#
View Source Request Example

    public class RecordFilter<T> : IRecordFilter
    where T : class, new()

VB
View Source Request Example

    Public Class RecordFilter(Of T As {Class, New})
    	Implements IRecordFilter

C++
View Source Request Example

    generic<typename T>
    where T : ref class, gcnew()
    public ref class RecordFilter : IRecordFilter

JavaScript
View Source Request Example

    JavaScript does not support generic types or methods.

Inheritance
  Object RecordFilterT

Implements
  IRecordFilter

#### Type Parameters

T

  [Missing <typeparam name="T"/> documentation for "T:Gemstone.Data.Model.RecordFilter`1"]

## Remarks

For backend restrictions RecordRestriction should be used. This class is intended to be used for user initiated searches and filters in the user interface.

## Constructors

RecordFilterT | Initializes a new instance of the RecordFilterT class

## 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.
WildCardOperators | Gets the collection of supported wildcard operators.

## Methods

Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GenerateRestriction | Generates a RecordRestriction that corresponds to this IRecordFilter.
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Gemstone.Data.Model Namespace