alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class WhereFilter

    Defines the members to build filter criteria.

    Inheritance
    object
    WhereFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Data
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class WhereFilter

    Constructors

    WhereFilter()

    Declaration
    public WhereFilter()

    Properties

    Condition

    Provides the complex filter merge condition.

    Declaration
    [JsonPropertyName("condition")]
    public string Condition { get; set; }
    Property Value
    Type
    string

    Field

    Specifies the field name.

    Declaration
    [JsonPropertyName("field")]
    public string Field { get; set; }
    Property Value
    Type
    string

    IgnoreAccent

    Specifies that ignore accent/diacritic letters while searching.

    Declaration
    [JsonPropertyName("ignoreAccent")]
    public bool IgnoreAccent { get; set; }
    Property Value
    Type
    bool

    IgnoreCase

    Specifies that filter should be incasesensitive.

    Declaration
    [JsonPropertyName("ignoreCase")]
    public bool IgnoreCase { get; set; }
    Property Value
    Type
    bool

    IsComplex

    When true it specifies that the filter criteria is a complex one.

    Declaration
    [JsonPropertyName("isComplex")]
    public bool IsComplex { get; set; }
    Property Value
    Type
    bool

    Operator

    Gets the filter operator.

    Declaration
    [JsonPropertyName("operator")]
    public string Operator { get; set; }
    Property Value
    Type
    string

    predicates

    Specifies the collection filter criteria.

    Declaration
    [JsonPropertyName("predicates")]
    public List<WhereFilter> predicates { get; set; }
    Property Value
    Type
    List<WhereFilter>

    value

    Specifies the filter value.

    Declaration
    [JsonPropertyName("value")]
    public object value { get; set; }
    Property Value
    Type
    object

    Methods

    And(WhereFilter)

    Merge the give predicate using And condition.

    Declaration
    public WhereFilter And(WhereFilter predicate)
    Parameters
    Type Name Description
    WhereFilter predicate

    Predicate to be merged.

    Returns
    Type Description
    WhereFilter

    WhereFilter.

    And(List<WhereFilter>)

    Merge the give collection of predicates using And condition.

    Declaration
    public static WhereFilter And(List<WhereFilter> predicates)
    Parameters
    Type Name Description
    List<WhereFilter> predicates

    List of predicates.

    Returns
    Type Description
    WhereFilter

    WhereFilter.

    And(string, string, object, bool, bool)

    Merge the give predicate using And condition.

    Declaration
    public WhereFilter And(string fieldName, string @operator = null, object value = null, bool ignoreCase = false, bool ignoreAccent = false)
    Parameters
    Type Name Description
    string fieldName

    Specifies the field name.

    string operator

    Specifies the filter operator.

    object value

    Specifies the filter value.

    bool ignoreCase

    Performs incasesensitive filtering.

    bool ignoreAccent

    Ignores accent/diacritic letters while filtering.

    Returns
    Type
    WhereFilter

    Or(WhereFilter)

    Merge the give predicate using Or condition.

    Declaration
    public WhereFilter Or(WhereFilter predicate)
    Parameters
    Type Name Description
    WhereFilter predicate

    Predicate to be merged.

    Returns
    Type Description
    WhereFilter

    WhereFilter.

    Or(List<WhereFilter>)

    Merge the give collection of predicates using Or condition.

    Declaration
    public static WhereFilter Or(List<WhereFilter> predicates)
    Parameters
    Type Name Description
    List<WhereFilter> predicates

    List of predicates.

    Returns
    Type Description
    WhereFilter

    WhereFilter.

    Or(string, string, object, bool, bool)

    Merge the give predicate using Or condition.

    Declaration
    public WhereFilter Or(string fieldName, string @operator = null, object value = null, bool ignoreCase = false, bool ignoreAccent = false)
    Parameters
    Type Name Description
    string fieldName

    Specifies the field name.

    string operator

    Specifies the filter operator.

    object value

    Specifies the filter value.

    bool ignoreCase

    Performs incasesensitive filtering.

    bool ignoreAccent

    Ignores accent/diacritic letters while filtering.

    Returns
    Type
    WhereFilter
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved