Table of Contents

Class SortField

Namespace: Casewhere.Common.DataQuery
Assembly: Casewhere.Common.dll

public class SortField

Inheritance

objectSortField

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<SortField>(SortField)

Constructors

SortField(string, bool)

public SortField(string name, bool asc = true)

Parameters

name string

asc bool

Properties

Ascending

public bool Ascending { get; set; }

Property Value

bool

Collation

public CustomCollation Collation { get; set; }

Property Value

CustomCollation

Name

[Required]
public string Name { get; set; }

Property Value

string