Click or drag to resize

ISortExpression Interface

Interface for the class which contains the sort clauses used in IRetrievalQuery instances. Generic

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public interface ISortExpression : IEnumerable

The ISortExpression type exposes the following members.

Properties
  NameDescription
Public propertyCount
The amount of items currently stored in the ISortExpression
Public propertyDatabaseSpecificCreator
Object which will be used to create valid parameter objects, field names, including prefix/postfix characters, and conversion routines, and field names, including prefix/postfix characters. Uses the strategy pattern so the generic code can work with more than one target database.
Public propertyItem
Indexer for this list.
Public propertyParameters
The list of parameters created when the sortexpression was translated to text usable in a query. Only valid after a succesful call to ToQueryText
Top
Methods
  NameDescription
Public methodAdd
Adds the passed in sort clause to the list.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodInsert
Inserts the passed in sort clause at the index provided.
Public methodInvert
Inverts the order direction of all clauses in this expression.
Public methodReadXml
Deserializes the object data on the xml reader into this instance
Public methodRemove
Removes the given sort clause from the list.
Public methodToQueryText
Retrieves a ready to use text representation for the sort clauses contained in this expression.
Public methodToQueryText(Boolean)
Retrieves a ready to use text representation for the sort clauses contained in this expression.
Public methodWriteXml
Serializes the object as xml to the writer specified.
Top
Extension Methods
  NameDescription
Public Extension MethodIsEmpty
Determines whether the specified sortexpression is empty. A null passed in is also considered empty.
(Defined by ORMClassExtensions.)
Public Extension MethodThenBy
Appends an ISortClause to an existing ISortExpression
(Defined by SortClauseProducers.)
Top
See Also