Table of Contents

Class QueryFilter

Namespace
Tlabs.Data.Model
Assembly
Tlabs.Data.dll

Generic filter paramters for a data query.

public class QueryFilter
Inheritance
QueryFilter
Derived
Inherited Members
Extension Methods

Constructors

QueryFilter()

Default ctor.

public QueryFilter()

QueryFilter(QueryFilter)

Copy ctor from other.

public QueryFilter(QueryFilter other)

Parameters

other QueryFilter

Fields

Precursor

Precursor property name.

public const string Precursor = "Precursor"

Field Value

string

Properties

Limit

Limit result to max. entries (used with result paging).

public virtual int? Limit { get; set; }

Property Value

int?

NoTotalCount

Indicator that the query resulting from this filter can omit to determine a total count value.

public virtual bool NoTotalCount { get; set; }

Property Value

bool

PrecursorOffset

Indicator to use Properties[nameof(Precursor)] as offset criterion.

public virtual bool PrecursorOffset { get; set; }

Property Value

bool

Properties

Limit result to to match these properties.

public virtual IDictionary<string, IConvertible>? Properties { get; set; }

Property Value

IDictionary<string, IConvertible>

SortAscBy

Sort result by these properties.

public virtual IDictionary<string, bool>? SortAscBy { get; set; }

Property Value

IDictionary<string, bool>

Remarks

true: asc, false desc.

Start

Limit result to start at position (used with result paging).

public virtual int? Start { get; set; }

Property Value

int?