logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct FieldFilter

    A single field OPERATOR value predicate ANDed into a StructuredQuery or a scope.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Persistence.Domain.ValueObjects
    Assembly: Serenity.Global.Domain.dll
    Syntax
    public readonly struct FieldFilter

    Constructors

    FieldFilter(string, FilterOperator, StructuredValue)

    Creates a new FieldFilter.

    Declaration
    public FieldFilter(string field, FilterOperator @operator, StructuredValue value)
    Parameters
    Type Name Description
    string field

    The field this filter compares. Cannot be null.

    FilterOperator operator

    The comparison applied.

    StructuredValue value

    The fixed value compared against the field.

    Fields

    Field

    The field this filter compares.

    Declaration
    public readonly string Field
    Field Value
    Type Description
    string

    Operator

    The comparison applied between the field and Value.

    Declaration
    public readonly FilterOperator Operator
    Field Value
    Type Description
    FilterOperator

    Value

    The fixed value compared against the field.

    Declaration
    public readonly StructuredValue Value
    Field Value
    Type Description
    StructuredValue

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()
    In this article
    © 2026 Serenity. All Rights Reserved