Soenneker.DataTables.Attributes.Orderable 11.0.38

Prefix Reserved
dotnet add package Soenneker.DataTables.Attributes.Orderable --version 11.0.38
                    
NuGet\Install-Package Soenneker.DataTables.Attributes.Orderable -Version 11.0.38
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.DataTables.Attributes.Orderable" Version="11.0.38" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.DataTables.Attributes.Orderable" Version="11.0.38" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.DataTables.Attributes.Orderable" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.DataTables.Attributes.Orderable --version 11.0.38
                    
#r "nuget: Soenneker.DataTables.Attributes.Orderable, 11.0.38"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.DataTables.Attributes.Orderable@11.0.38
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.DataTables.Attributes.Orderable&version=11.0.38
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.DataTables.Attributes.Orderable&version=11.0.38
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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
Loading failed

Upgrade .NET 11 release candidates to stable