Click or drag to resize

DataExchangeObjects Class

Inheritance Hierarchy
SystemObject
  System.Collections.GenericListDataExchangeObject
    Omada.OE.ModelDataExchangeObjects

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class DataExchangeObjects : List<DataExchangeObject>

The DataExchangeObjects type exposes the following members.

Constructors
  NameDescription
Public methodDataExchangeObjects
Top
Properties
  NameDescription
Public propertySortKey
SortKey is used in GetKeyGroupedCollections()
Top
Methods
  NameDescription
Public methodFilter
Public methodGetKeyGroupedCollections
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.
Public methodRemoveDuplets
Sorts the list (ascending) and removes duplets
Public methodRemoveEmpty
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.
Public methodRemoveObjectsWithNoKey
Public methodSort
If sortField is provided as null we sort by KeyValue.
Top
Extension Methods
  NameDescription
Public Extension MethodParallelForEachAsCurrentIdentityDataExchangeObject
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.)
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also