Click or drag to resize

DataObjects Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelObjectWithIdCollectionBaseDataObject
    Omada.OE.ModelDataObjects

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class DataObjects : ObjectWithIdCollectionBase<DataObject>

The DataObjects type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCommandText
The SQL main statement used to load the objects
Public propertyCount (Inherited from ObjectWithIdCollectionBaseT.)
Public propertyIsEmpty (Inherited from ObjectWithIdCollectionBaseT.)
Public propertyIsReadOnly (Inherited from ObjectWithIdCollectionBaseT.)
Public propertyItem (Inherited from ObjectWithIdCollectionBaseT.)
Public propertyLoadTime
The time it took to load the objects
Public propertySingleValue
Verify that the collection contains exactly one value and return that value
(Inherited from ObjectWithIdCollectionBaseT.)
Public propertySortedById (Inherited from ObjectWithIdCollectionBaseT.)
Top
Methods
  NameDescription
Public methodAdd(T) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAddX(IEnumerableX) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAddX(ObjectWithIdCollectionBaseX) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAssign(IEnumerableT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAssign(ObjectWithIdCollectionBaseT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodBinarySearch (Inherited from ObjectWithIdCollectionBaseT.)
Public methodClear (Inherited from ObjectWithIdCollectionBaseT.)
Public methodClone (Inherited from ObjectWithIdCollectionBaseT.)
Public methodContains(Int32)
Returns true of the collection contains the object with the provided ID.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodContains(T)
Returnerer om collection rummer objekt med samme id som obj.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodContainsSameIds(IntegerList) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodContainsSameIds(ObjectWithIdCollectionBaseT)
Returnerer true if the collection contains the same objects as the source. The collections must contain the same elements. The sort order is irrelevant and not considered. The objects are only compared in their ID.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodConvertAllTOutput (Inherited from ObjectWithIdCollectionBaseT.)
Public methodCopyTo (Inherited from ObjectWithIdCollectionBaseT.)
Public methodCountPass
Count how many elements fullfill a predicate. The list is not modified.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodEquals (Inherited from ObjectWithIdCollectionBaseT.)
Public methodExists
Check wether a predicate is true for at least one item in the list
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFilter
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFilterX(PredicateT)
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFilterX(IFilterT)
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFind (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindAll(PredicateT, ObjectWithIdCollectionBaseT)
Add all items for which the predicate is true to the result.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindAllRESULTTYPE(PredicateT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindIndex (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindLast (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindLastIndex (Inherited from ObjectWithIdCollectionBaseT.)
Public methodForEach (Inherited from ObjectWithIdCollectionBaseT.)
Protected methodFormatExceptionMsg (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByDisplayName
Public methodGetById
Returns an object from the collection with the provided ID. If the collection is sorted (by id) then binary search is used, else it linear. Returns null if the ID is not found.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdCheck
Returns an object from the collection with the provided ID. If the collection is sorted (by id) then binary search is used, else it linear. Raises an exception if the ID is not found.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdList(IEnumerableInt32) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdListRESULTTYPE(IntegerList) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdListCheck(IntegerList)
Get a sublist of items having the ids in the idList. Throws exception if idList contains id not in the current collection
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdListCheck(IEnumerableInt32)
Get a sublist of items having the ids in the idList. Throws exception if idList contains id not in the current collection
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdMulti (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIds
Public methodGetByTemplateIdL
Public methodGetByTypeIdL
Returns the first object in the list of the provided type.
Public methodGetByUId
Returns the object with the provided UID or null of the object is not found. The method can only by used on objects which implement the interface IObjectWithGuid!
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByUIdCheck
Returns the object with the provided UID. An exception is raised if the object is not found The method can only by used on objects which implement the interface IObjectWithGuid!
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetDataObjectTypeIds
Public methodGetDelimitedIdString (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetDistinctFieldValues
Public methodGetEnumerator (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetHashCode (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetIdList (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetIndexById
Returns the index of the object from the collection with the provided ID. If the collection is sorted (by id) then binary search is used, else it linear. Returns -1 if the ID is not found.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetIndexByUId
Returns the index of an object with the provided UID or -1 of the object is not found. The method can only by used on objects which implement the interface IObjectWithGuid!
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetRange
Unlike the list class, this may return less than count elements
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetReferencePropertyValueIds
Returns a distinct collection of the dataobjectid's that are referred through the denoted (reference) propertyId on all the dataobjects in the collection.
Public methodGetReferencePropertyValues
Returns values for one or all reference properties on all the data objects in the collection.
Public methodGetUIds
Public methodHasCommonItems(IntegerList)
Returns true if the collection contains at least one element which is also in the source
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodHasCommonItems(ObjectWithIdCollectionBaseT)
Returns true if the collection contains at least one element which is also in the source
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodIndexOf (Inherited from ObjectWithIdCollectionBaseT.)
Public methodInsert (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(IEnumerableT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(Int32)
Removes an object with the provided ID from the collection.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(T)
Fjerner objekt med samme id som obj fra collection.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(ObjectWithIdCollectionBaseT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemoveAll
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemoveAt (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemoveIdDuplets
Sorts the list (ascending) on id and removes id duplets
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodSetNotSortedById (Inherited from ObjectWithIdCollectionBaseT.)
Public methodSort(IComparerT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodSort(ComparisonT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodSortById (Inherited from ObjectWithIdCollectionBaseT.)
Public methodStatic memberToDataObjectsDERIVED
Public methodTrueForAll
Check wether a predicate is true for all items in the list
(Inherited from ObjectWithIdCollectionBaseT.)
Top
Fields
Extension Methods
  NameDescription
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
Explicit Interface Implementations
See Also