Table of Contents

Enum MetadataFilterValueKind

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

Identifies the comparison domain of a MetadataFilterValue. Metadata values are stored as strings; the kind of the filter value decides how the stored string is interpreted before the comparison runs.

public enum MetadataFilterValueKind

Fields

String = 0

Compare as text, using ordinal (byte-order) comparison.

Number = 1

Parse the stored value as a number (invariant culture) and compare numerically. A stored value that does not parse never matches.

Boolean = 2

Parse the stored value as a boolean ("true" or "false", case-insensitive) and compare. A stored value that does not parse never matches.

Date = 3

Parse the stored value as an ISO 8601 date or timestamp and compare the instants. A stored value that does not parse never matches.

Share