OrdersCollection Class |
Namespace: CMS.Ecommerce
public class OrdersCollection : InfoObjectCollection<OrderInfo>
The OrdersCollection type exposes the following members.
Name | Description | |
---|---|---|
OrdersCollection |
Constructor - creates collection of orders for the given customer
|
Name | Description | |
---|---|---|
Add(IEnumerableTObject) |
Adds new object to the collection.
(Inherited from ObjectCollectionTObject.) | |
Add(BaseInfo) |
Adds new object to the collection.
(Inherited from InfoObjectCollection.) | |
AddCacheDependencies |
Adds the given list of cache dependencies to the collection
(Inherited from InfoObjectCollection.) | |
AsTargetType |
Makes a wrapper of the collection with specified type of the items.
(Inherited from InfoObjectCollection.) | |
CacheDependenciesChanged |
Ensures the actions when the cache dependencies have changed
(Inherited from InfoObjectCollection.) | |
Clear |
Clears the current items in the collection.
(Inherited from ObjectCollectionTObject.) | |
ClearCache |
Clears the collection cache
(Inherited from InfoObjectCollection.) | |
Clone |
Creates the clone of the collection.
(Inherited from InfoObjectCollectionTInfo.) | |
CloneCollection |
Creates the clone of this collection.
(Inherited from ObjectCollectionTObject.) | |
CombineWith |
Combines current instance with other properties (modifies current instace!).
List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.) | |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from AbstractObjectCollection.) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
CopyPropertiesTo |
Copies the properties of this collection to the other collection
(Inherited from InfoObjectCollection.) | |
CreateChild |
Creates the child collection based on the given provider
(Inherited from InfoObjectCollectionTInfo.) | |
CreateNewObject |
Creates new instance of the encapsulated object.
(Inherited from InfoObjectCollection.) | |
CreateQueryProvider |
Creates a LINQ query provider for this collection
(Inherited from InfoObjectCollectionTInfo.) | |
Disconnect |
Disconnects the collection from the database
(Inherited from AbstractObjectCollection.) | |
Dispose |
Disposes the object
(Inherited from InfoObjectCollection.) | |
EnsureItems |
Ensures the specified number of items in the item list.
(Inherited from ObjectCollectionTObject.) | |
EnsureObjectValues |
Ensures the proper values for the given object
(Inherited from InfoObjectCollection.) | |
GetCacheDependencyKeys |
Gets the list of cache dependency keys on which this collection depends
(Inherited from InfoObjectCollection.) | |
GetCompleteWhereCondition |
Gets the complete where condition for the collection
(Inherited from InfoObjectCollection.) | |
GetData |
Gets the data for the collection.
(Inherited from InfoObjectCollection.) | |
GetEmptyObject |
Gets an empty object for this collection
(Inherited from ObjectCollectionTObject.) | |
GetEnumerator |
Gets the strongly typed enumerator for the collection
(Inherited from InfoObjectCollectionTInfo.) | |
GetEnumeratorInternal |
Gets the enumerator for the collection.
(Inherited from ObjectCollectionTObject.) | |
GetFieldsAsObjects(String) |
Gets the collection of objects that are referenced by the given property
(Inherited from InfoObjectCollection.) | |
GetFieldsAsObjects(String, String) |
Gets the collection of objects that are referenced by the given property
(Inherited from InfoObjectCollection.) | |
GetFullData |
Gets the data set of the data behind this collection
(Inherited from ObjectCollectionTObject.) | |
GetItem |
Gets the item on the specified index.
(Inherited from InfoObjectCollection.) | |
GetItemsAsFields |
Returns the updatable collection of fields of collection items
(Inherited from InfoObjectCollection.) | |
GetNameWhereCondition |
Gets the where condition for the given object name.
(Inherited from InfoObjectCollection.) | |
GetObjectByNameInternal |
Gets the object by its name, internal representation that gets data from database
(Inherited from InfoObjectCollection.) | |
GetObjectEnumerator |
Gets the object enumerator for the collection
(Inherited from ObjectCollectionTObject.) | |
GetObjectName(Object) |
Returns the name of the given object
(Inherited from ObjectCollectionTObject.) | |
GetObjectName(BaseInfo) |
Gets the unique object name from the given object.
(Inherited from InfoObjectCollection.) | |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetSubsetOrderBy |
Returns the clone of the collection with specified order by applied
(Inherited from InfoObjectCollection.) | |
GetSubsetWhere |
Returns the clone of the collection with specified where condition applied
(Inherited from InfoObjectCollection.) | |
GetSubsetWhereNotEmpty |
Returns the clone of the collection with specified column not being empty
(Inherited from InfoObjectCollection.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) | |
ChangeParent |
Changes the parent of the collection
(Inherited from InfoObjectCollection.) | |
Init |
Initializes the collection to use specific object type
(Inherited from InfoObjectCollection.) | |
Load |
Clears the data in the collection and loads objects from the given list.
(Inherited from InfoObjectCollection.) | |
MakeEmpty |
Makes the collection empty.
(Inherited from AbstractObjectCollection.) | |
Reconnect |
Reconnects the collection to the database
(Inherited from AbstractObjectCollection.) | |
RegisterClearCacheCallback |
Registers the callback to clear the collection cache
(Inherited from InfoObjectCollection.) | |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from InfoObjectCollection.) | |
RegisterProperties |
Registers the properties of this object
(Inherited from InfoObjectCollectionTInfo.) | |
RegisterProperties(ListString) |
Registers supported properties
(Inherited from InfoObjectCollection.) | |
RegisterProperty(String, FuncTObject, Object) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, Object, FuncTObject, Object, Object) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.) | |
Remove(IEnumerableTObject) |
Removes the specified object from the collection.
(Inherited from ObjectCollectionTObject.) | |
Remove(TObject) |
Removes the specified object from the collection.
(Inherited from ObjectCollectionTObject.) | |
RemoveClearCacheCallback |
Removes the callback to clear the collection cache
(Inherited from InfoObjectCollection.) | |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
SubmitChanges |
Submits the changes in the collection to the database.
(Inherited from InfoObjectCollection.) | |
ToString |
Provides a string representation of the collection
(Inherited from InfoObjectCollection.) | |
TryGetProperty(String, Object) |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseData |
Initializes the collection with the given source data
(Inherited from ObjectCollectionTObject.) | |
ValidateItem |
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.
(Inherited from InfoObjectCollection.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mAllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from ObjectCollectionTObject.) | |
mColumnNames |
Column names
(Inherited from ObjectCollectionTObject.) | |
mCount |
Total number of items.
(Inherited from AbstractObjectCollection.) | |
mCountDifference |
Difference in count of the items from data source and current number of items
(Inherited from ObjectCollectionTObject.) | |
mDeletedItems |
Deleted items removed from the collection.
(Inherited from ObjectCollectionTObject.) | |
mDisconnectedCount |
Number of disconnected references for this collection
(Inherited from AbstractObjectCollection.) | |
mFieldsAsObjects |
Related objects wrappers
(Inherited from InfoObjectCollection.) | |
mInstanceGuid |
Instance GUID
(Inherited from AbstractObjectCollection.) | |
mItems |
Items collection.
(Inherited from ObjectCollectionTObject.) | |
mItemsAsFields |
Fields wrappers
(Inherited from InfoObjectCollection.) | |
mLoadBinaryData |
Indicates whether to load binary data into the collections.
(Inherited from AbstractObjectCollection.) | |
mName |
Collection name
(Inherited from AbstractObjectCollection.) | |
mNewItems |
New items added to the collection.
(Inherited from ObjectCollectionTObject.) | |
mObject |
Object instance of specified type.
(Inherited from InfoObjectCollection.) | |
mObjectsByName |
Objects by name.
(Inherited from ObjectCollectionTObject.) | |
mObjectType |
Object type.
(Inherited from InfoObjectCollection.) | |
mOrderBy |
Order by expression.
(Inherited from InfoObjectCollection.) | |
mPageSize |
Page size for loading of the items.
(Inherited from ObjectCollectionTObject.) | |
mParentObject |
Parent object instance
(Inherited from InfoObjectCollection.) | |
mSourceData |
Source data for the collection
(Inherited from ObjectCollectionTObject.) | |
ObjectInitializer |
Provides a way how to initialize the object instance based on given data
(Inherited from InfoObjectCollection.) |
Name | Description | |
---|---|---|
AllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from ObjectCollectionTObject.) | |
CodeNames |
Collection of the object code names
(Inherited from InfoObjectCollection.) | |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
Columns |
Columns to get.
(Inherited from AbstractObjectCollection.) | |
Count |
Returns the number of items.
(Inherited from ObjectCollectionTObject.) | |
DisplayNames |
Collection of the object display names
(Inherited from InfoObjectCollection.) | |
DynamicWhereCondition |
Dynamic where condition.
(Inherited from AbstractObjectCollection.) | |
ElementType |
Returns the element type.
(Inherited from ObjectCollectionTObject.) | |
EnforceReadOnlyDataAccess |
If true, the read only access to the data is enforced within the transaction.
(Inherited from AbstractObjectCollection.) | |
Expression |
Query expression
(Inherited from ObjectCollectionTObject.) | |
FieldsAsObjects |
Related objects wrappers
(Inherited from InfoObjectCollection.) | |
FirstItem |
Returns the first item of the collection
(Inherited from ObjectCollectionTObject.) | |
GUIDs |
Collection of the object GUIDs
(Inherited from InfoObjectCollection.) | |
CheckLicense |
If true, the collection check license when getting data
(Inherited from InfoObjectCollection.) | |
IDs |
Collection of the object IDs
(Inherited from InfoObjectCollection.) | |
InternalCount |
Internal count of the items
(Inherited from InfoObjectCollection.) | |
IsCachedObject |
If true, the object is cached within the system for later use
(Inherited from InfoObjectCollection.) | |
IsDisconnected |
Returns true if the collection is disconnected from the data source
(Inherited from InfoObjectCollection.) | |
IsLastVersion |
If true, the document is the last version (retrieved using DocumentHelper.GetDocument).
(Inherited from AbstractObjectCollection.) | |
IsOffline |
Returns true, if the collection is offline (not backed up by the database but by the source data)
(Inherited from ObjectCollectionTObject.) | |
ItemInt32 |
Gets or sets the object on specific index.
(Inherited from InfoObjectCollectionTInfo.) | |
ItemString |
Returns the object registered by the specific name.
(Inherited from InfoObjectCollectionTInfo.) | |
Items |
Returns the items collection.
(Inherited from ObjectCollectionTObject.) | |
ItemsAsFields |
Fields wrappers
(Inherited from InfoObjectCollection.) | |
ItemsHaveNames |
Returns true if the items in the collection have names
(Inherited from ObjectCollectionTObject.) | |
ItemType |
Result type
(Inherited from ObjectCollectionTObject.) | |
LastItem |
Returns the last item of the collection
(Inherited from ObjectCollectionTObject.) | |
LoadBinaryData |
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from ObjectCollectionTObject.) | |
Name |
Collection name. Returns object type if name is not defined
(Inherited from InfoObjectCollection.) | |
NameColumn |
Name column name
(Inherited from InfoObjectCollection.) | |
Object |
Object instance of the specified type.
(Inherited from InfoObjectCollection.) | |
ObjectsByName |
Objects by name collection.
(Inherited from ObjectCollectionTObject.) | |
ObjectType |
Returns the object type of the objects stored within the collection.
(Inherited from InfoObjectCollection.) | |
OrderBy |
Order by expression.
(Inherited from InfoObjectCollection.) | |
ParentObject |
Parent object.
(Inherited from InfoObjectCollection.) | |
ParentStorage |
Parent storage
(Inherited from AbstractObjectCollection.) | |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
Provider |
Query provider
(Inherited from ObjectCollectionTObject.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RemovedObject |
Defines the removed object within collection
(Inherited from ObjectCollectionTObject.) | |
SearchText |
If set, the collection filters objects to only those containing the given text
(Inherited from InfoObjectCollection.) | |
SiteID |
Site ID to filter the collection to a particular site
(Inherited from InfoObjectCollection.) | |
SortNames |
If true, the names in enumeration are sorted
(Inherited from ObjectCollectionTObject.) | |
TopN |
Select top N objects.
(Inherited from AbstractObjectCollection.) | |
TotalVolume |
Total volume of all customer orders. Value is expressed in site main currency for site orders.
Result is in global main currency when collection contains orders from all sites.
| |
TypeInfo |
Type info for the collection object.
(Inherited from InfoObjectCollection.) | |
UseDefaultCacheDependencies |
If true, the collection uses default cache dependencies to flush it's content
(Inherited from InfoObjectCollection.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseObjectTypeCondition |
If true, the collection uses the type condition to get the data
(Inherited from InfoObjectCollection.) | |
WhereCondition |
Where condition.
(Inherited from AbstractObjectCollection.) |