| 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 | Gets or sets the number of elements that the CollectionBase can contain. (Inherited from CollectionBase.) | |
| Count | Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden. (Inherited from CollectionBase.) | |
| 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.
| |
| InnerList | Gets an ArrayList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
| Item |
Indexer for this list.
| |
| List | Gets an IList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
| 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 | Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.) | |
| 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.) | |
| GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.) | |
| 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.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnClear | Performs additional custom processes when clearing the contents of the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnClearComplete | Performs additional custom processes after clearing the contents of the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnInsert | Performs additional custom processes before inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnInsertComplete | Performs additional custom processes after inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnRemove | Performs additional custom processes when removing an element from the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnRemoveComplete | Performs additional custom processes after removing an element from the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnSet | Performs additional custom processes before setting a value in the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnSetComplete | Performs additional custom processes after setting a value in the CollectionBase instance. (Inherited from CollectionBase.) | |
| OnValidate | Performs additional custom processes when validating a value. (Inherited from CollectionBase.) | |
| Remove |
Removes the given sort clause from the list.
| |
| RemoveAt | Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.) | |
| 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.) |
| Name | Description | |
|---|---|---|
| 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.
| |
| IXmlSerializableReadXml |
Generates an object from its XML representation.
| |
| IXmlSerializableWriteXml |
Converts an object into its XML representation.
| |
| IListAdd | Adds an object to the end of the CollectionBase. (Inherited from CollectionBase.) | |
| IListContains | Determines whether the CollectionBase contains a specific element. (Inherited from CollectionBase.) | |
| ICollectionCopyTo | Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionBase.) | |
| IListIndexOf | Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. (Inherited from CollectionBase.) | |
| IListInsert | Inserts an element into the CollectionBase at the specified index. (Inherited from CollectionBase.) | |
| IListIsFixedSize | Gets a value indicating whether the CollectionBase has a fixed size. (Inherited from CollectionBase.) | |
| ISortExpressionReadXml |
Deserializes the object data on the xml reader into this instance
| |
| ISortExpressionWriteXml |
Serializes the object as xml to the writer specified.
| |
| IListIsReadOnly | Gets a value indicating whether the CollectionBase is read-only. (Inherited from CollectionBase.) | |
| ICollectionIsSynchronized | Gets a value indicating whether access to the CollectionBase is synchronized (thread safe). (Inherited from CollectionBase.) | |
| IListItem | Gets or sets the element at the specified index. (Inherited from CollectionBase.) | |
| IListRemove | Removes the first occurrence of a specific object from the CollectionBase. (Inherited from CollectionBase.) | |
| ICollectionSyncRoot | Gets an object that can be used to synchronize access to the CollectionBase. (Inherited from CollectionBase.) |