Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    EFCoreObjectSpace.SetCollectionSorting(Object, IList<SortProperty>) Method

    Applies the specified sort settings to the collection.

    Namespace: DevExpress.ExpressApp.EFCore

    Assembly: DevExpress.ExpressApp.EFCore.v25.1.dll

    NuGet Package: DevExpress.ExpressApp.EFCore

    Declaration

    public override void SetCollectionSorting(
        object collection,
        IList<SortProperty> sorting
    )

    Parameters

    Name Type Description
    collection Object

    A collection to be sorted.

    sorting IList<SortProperty>

    A list of SortProperty objects. These objects specify sort settings to be applied to a collection.

    Remarks

    The SetCollectionSorting method supports only EFCoreCollection collections.

    See Also