SortExpression Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The SortExpression type exposes the following members.
Name | Description | |
---|---|---|
SortExpression |
CTor
| |
SortExpression(ISortClause) |
CTor which initially adds the passed in sort clause. This is an accelerator constructor to
make code more compact.
|
Name | Description | |
---|---|---|
Capacity |
Returns the capacity of the collection
| |
Count |
Returns the number of elements in this path
| |
DatabaseSpecificCreator |
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.
| |
Item |
Indexer for this list.
| |
Parameters |
The list of parameters created when the sortexpression was translated to text usable in a query. Only valid after a succesful call to ToQueryText
|
Name | Description | |
---|---|---|
Add |
Adds the passed in sort clause to the list.
| |
Clear |
Clears this instance
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Insert |
Inserts the passed in sort clause at the index provided.
| |
Invert |
Inverts the order direction of all clauses in this expression.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes the given sort clause from the list.
| |
ToQueryText |
Retrieves a ready to use text representation for the sort clauses contained in this expression.
| |
ToQueryText(Boolean) |
Retrieves a ready to use text representation for the sort clauses contained in this expression.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IsEmpty |
Determines whether the specified sortexpression is empty. A null passed in is also considered empty.
(Defined by ORMClassExtensions.) | |
ThenBy |
Appends an ISortClause to an existing ISortExpression
(Defined by SortClauseProducers.) |
Name | Description | |
---|---|---|
IListAdd | Adds an item to the IList. | |
IListContains | Determines whether the IList contains a specific value. | |
ICollectionCopyTo | ||
IEnumerableGetEnumerator |
Returns an enumerator that iterates through the CollectionBase instance.
| |
IXmlSerializableGetSchema |
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
| |
IListIndexOf | Determines the index of a specific item in the IList. | |
IListInsert | Inserts an item to the IList at the specified index. | |
IListIsFixedSize | Gets a value indicating whether the IList has a fixed size. | |
IListIsReadOnly | Gets a value indicating whether the IList is read-only. | |
ICollectionIsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). | |
IListItem | Gets or sets the element at the specified index. | |
IXmlSerializableReadXml |
Generates an object from its XML representation.
| |
IListRemove | Removes the first occurrence of a specific object from the IList. | |
IListRemoveAt | Removes the IList item at the specified index. | |
ICollectionSyncRoot | Gets an object that can be used to synchronize access to the ICollection. | |
IXmlSerializableWriteXml |
Converts an object into its XML representation.
| |
ISortExpressionReadXml |
Deserializes the object data on the xml reader into this instance
| |
ISortExpressionWriteXml |
Serializes the object as xml to the writer specified.
|