Soenneker.DataTables.Attributes.Orderable
11.0.37
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.DataTables.Attributes.Orderable --version 11.0.37
NuGet\Install-Package Soenneker.DataTables.Attributes.Orderable -Version 11.0.37
<PackageReference Include="Soenneker.DataTables.Attributes.Orderable" Version="11.0.37" />
<PackageVersion Include="Soenneker.DataTables.Attributes.Orderable" Version="11.0.37" />
<PackageReference Include="Soenneker.DataTables.Attributes.Orderable" />
paket add Soenneker.DataTables.Attributes.Orderable --version 11.0.37
#r "nuget: Soenneker.DataTables.Attributes.Orderable, 11.0.37"
#:package Soenneker.DataTables.Attributes.Orderable@11.0.37
#addin nuget:?package=Soenneker.DataTables.Attributes.Orderable&version=11.0.37
#tool nuget:?package=Soenneker.DataTables.Attributes.Orderable&version=11.0.37
Soenneker.DataTables.Attributes.Orderable
DataTableOrderableAttribute marks model properties that a server-side DataTables query layer may use for sorting.
Installation
dotnet add package Soenneker.DataTables.Attributes.Orderable
Usage
using Soenneker.DataTables.Attributes.Orderable;
public sealed class CustomerRow
{
[DataTableOrderable]
public required string Name { get; init; }
[DataTableOrderable]
public DateTimeOffset CreatedAt { get; init; }
public string? InternalNote { get; init; }
}
A request-processing layer can inspect the requested column, find its corresponding property, and allow ordering only when that property has DataTableOrderableAttribute:
using System.Reflection;
PropertyInfo property = typeof(CustomerRow).GetProperty(nameof(CustomerRow.CreatedAt))!;
bool mayOrder = property.IsDefined(typeof(DataTableOrderableAttribute));
This package supplies the marker attribute only. It does not parse DataTables requests or apply OrderBy. Treat requested column names as untrusted input and map them to known properties instead of inserting them into a query string.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.DataTables.Attributes.Orderable:
| Package | Downloads |
|---|---|
|
Soenneker.DataTables.Extensions.ServerSideRequest
A collection of helpful DataTableServerSideRequest extension methods |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.38 | 148 | 11/11/2026 |
| 11.0.37 | 402 | 10/28/2026 |
| 11.0.36 | 245 | 10/26/2026 |
| 4.0.35 | 449 | 10/14/2026 |
| 4.0.34 | 115 | 10/14/2026 |
| 4.0.33 | 107 | 10/14/2026 |
| 4.0.32 | 155 | 10/13/2026 |
| 4.0.29 | 104 | 10/12/2026 |
| 4.0.28 | 164 | 10/12/2026 |
| 4.0.27 | 227 | 10/11/2026 |
| 4.0.26 | 728 | 9/24/2026 |
| 4.0.25 | 302 | 9/15/2026 |
| 4.0.24 | 431 | 9/12/2026 |
| 4.0.23 | 886 | 8/30/2026 |
| 4.0.21 | 167 | 7/28/2026 |
| 4.0.20 | 135 | 7/16/2026 |
| 4.0.19 | 139 | 6/19/2026 |
| 4.0.18 | 144 | 6/5/2026 |
| 4.0.17 | 138 | 4/22/2026 |
| 4.0.16 | 153 | 3/12/2026 |
Target DataTables contracts at netstandard2.0