dotnet-dynamic-query/PoweredSoft.DynamicQuery/Sort.cs
2018-10-21 14:46:33 -05:00

30 lines
529 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using PoweredSoft.DynamicQuery.Core;
namespace PoweredSoft.DynamicQuery
{
public class Sort : ISort
{
public string Path { get; set; }
public bool? Ascending { get; set; }
public Sort()
{
}
public Sort(string path)
{
Path = path;
}
public Sort(string path, bool? ascending)
{
Path = path;
Ascending = ascending;
}
}
}