Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DynamicObjectOperation - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DynamicObjectOperation

    DataOperation class that performs data operation in DynamicObject type data sources.

    Inheritance
    System.Object
    DynamicObjectOperation
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public static class DynamicObjectOperation : Object

    Methods

    PerformDataOperations(IEnumerable, DataManagerRequest)

    Executes the query against the given data source and returns the resultant records.

    Declaration
    public static IEnumerable PerformDataOperations(IEnumerable DataSource, DataManagerRequest queries)
    Parameters
    Type Name Description
    System.Collections.IEnumerable DataSource

    Input data source.

    DataManagerRequest queries

    Query to be executed against data source.

    Returns
    Type Description
    System.Collections.IEnumerable

    IEnumerable - resultant records

    PerformFiltering(IEnumerable, List<WhereFilter>, String, IDictionary<String, Type>)

    Apply the given filter criteria against the data source and returns the filtered records.

    Declaration
    public static IQueryable PerformFiltering(IEnumerable dataSource, List<WhereFilter> whereFilter, string condition, IDictionary<string, Type> columnTypes = null)
    Parameters
    Type Name Description
    System.Collections.IEnumerable dataSource

    Input data source.

    System.Collections.Generic.List<WhereFilter> whereFilter

    List of filter criteria.

    System.String condition

    Condition to merge two filter criteria.

    System.Collections.Generic.IDictionary<System.String, System.Type> columnTypes

    Type collection of each property in data source

    Returns
    Type Description
    System.Linq.IQueryable

    PerformSearching(IEnumerable, List<SearchFilter>, IDictionary<String, Type>)

    Apply the given search criteria against the data source and returns the filtered records.

    Declaration
    public static IQueryable PerformSearching(IEnumerable dataSource, List<SearchFilter> searchFilter, IDictionary<string, Type> columnTypes = null)
    Parameters
    Type Name Description
    System.Collections.IEnumerable dataSource

    Data source to be filtered

    System.Collections.Generic.List<SearchFilter> searchFilter

    List of search criteria.

    System.Collections.Generic.IDictionary<System.String, System.Type> columnTypes

    Type collection of each property in data source

    Returns
    Type Description
    System.Linq.IQueryable

    IEnumerable - searched records.

    PerformSorting(IQueryable, List<Sort>)

    Sorts the given data source.

    Declaration
    public static IQueryable PerformSorting(IQueryable dataSource, List<Sort> sortedColumns)
    Parameters
    Type Name Description
    System.Linq.IQueryable dataSource

    Input data source to be sorted.

    System.Collections.Generic.List<Sort> sortedColumns

    List of sort criteria.

    Returns
    Type Description
    System.Linq.IQueryable

    IQuerable

    PredicateBuilder(IEnumerable, List<WhereFilter>, String, ParameterExpression, IDictionary<String, Type>)

    Generates predicate from the filter criteria.

    Declaration
    public static Expression PredicateBuilder(IEnumerable dataSource, List<WhereFilter> whereFilter, string condition, ParameterExpression paramExpression, IDictionary<string, Type> columnTypes = null)
    Parameters
    Type Name Description
    System.Collections.IEnumerable dataSource

    Data source to be filtered

    System.Collections.Generic.List<WhereFilter> whereFilter

    List of filter criteria.

    System.String condition

    Condition to merge two filter criteria.

    System.Linq.Expressions.ParameterExpression paramExpression

    Parameter expression.

    System.Collections.Generic.IDictionary<System.String, System.Type> columnTypes

    Type collection of each property in data source

    Returns
    Type Description
    System.Linq.Expressions.Expression

    Expression

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved