DataExchangeObjects Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataExchangeObjects : List<DataExchangeObject>
The DataExchangeObjects type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataExchangeObjects |
Name | Description | |
---|---|---|
![]() | Filter | |
![]() | GetKeyGroupedCollections |
Returns a list containing DataExchangeObjects (collection) objects.
Each collection contains DataExchangeObject objects (from this collection) that have identical KeyValue.
DataExchangeObject objects (from this collection) without a KeyValue are skipped.
This collection is sorted ascending on KeyValue.
|
![]() | RemoveDuplets |
Sorts the list (ascending) and removes duplets
|
![]() | RemoveEmpty |
Removes objects from the collection if they:
- don't have the denoted field.
- have a null value for the denoted field.
- have an empty string value for the denoted field.
|
![]() | RemoveObjectsWithNoKey | |
![]() | Sort |
If sortField is provided as null we sort by KeyValue.
|
Name | Description | |
---|---|---|
![]() | ParallelForEachAsCurrentIdentityDataExchangeObject |
Runs the action in parallel for each item in the list, as the identity in the context
This should be used instead of Parallel.ForEach, since Parallel.ForEach is not guaranteed to keep the impersonation context.
More on this can be found here: https://stackoverflow.com/questions/26065155/parallel-foreach-changes-impersonation-context
(Defined by LinqExtensions.) |
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |