Class RedisSortBy
a sort-by predicate for a search.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Searching.Query
Assembly: Redis.OM.dll
Syntax
public class RedisSortBy : QueryOption
Properties
| Improve this Doc View SourceDirection
Gets or sets the direction to sort by.
Declaration
public SortDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
SortDirection |
Field
gets or sets the field to sort by.
Declaration
public string Field { get; set; }
Property Value
Type | Description |
---|---|
System.String |