Skip to main content
All docs
V25.2
  • EFCoreObjectSpace.SetCollectionSorting(Object, IList<SortProperty>) Method

    Applies the specified sort settings to the collection.

    Namespace: DevExpress.ExpressApp.EFCore

    Assembly: DevExpress.ExpressApp.EFCore.v25.2.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