Search Results for

    Show / Hide Table of Contents

    Class QueryableExtensions

    Defines a collection of extensions for queryable objects.

    Inheritance
    System.Object
    QueryableExtensions
    Namespace: MADE.Collections
    Assembly: MADE.Collections.dll
    Syntax
    public static class QueryableExtensions : object

    Methods

    | Improve this Doc View Source

    Chunk<T>(IQueryable<T>, Int32)

    Chunks a query of items into the specified chunk size.

    Declaration
    public static IEnumerable<IQueryable<T>> Chunk<T>(this IQueryable<T> source, int chunkSize = 25)
    Parameters
    Type Name Description
    IQueryable<T> source

    The source query to chunk.

    System.Int32 chunkSize

    The chunk size.

    Returns
    Type Description
    IEnumerable<IQueryable<T>>

    A collection of queries containing the chunked items.

    Type Parameters
    Name Description
    T

    The type of item.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps