Table of Contents

Interface ISorting<TModel>

Namespace
Magicalizer.Domain.Services.Abstractions
Assembly
Magicalizer.Domain.Services.Abstractions.dll

Sorting of a query by a property.

public interface ISorting<TModel> where TModel : class, IModel

Type Parameters

TModel

Model type.

Properties

IsAscending

Whether the sorting is ascending (otherwise descending).

bool IsAscending { get; }

Property Value

bool

PropertyPath

Property path to sort by (e.g. "Category.Name").

string PropertyPath { get; }

Property Value

string