DataObjectLoadOptionsBase Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public abstract class DataObjectLoadOptionsBase : IDataObjectLoadOptionsBase
The DataObjectLoadOptionsBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | AccessModifierClassInfo |
Can be used to specify the details of an access modifier class.
If an access modifier is specified it overrides an eventual access modifier specified on the data object type of the data objects being loaded.
Can be null.
|
![]() | AllVersions |
Determines whether only the newest (default) or all versions should be loaded.
|
![]() | CreateSpecialDataObjects |
Determines whether special objects are created during the load of DataObjects.
If set to true, User objects are created for DataObjects of type User.
If not set, all objects are loaded as DataObjects which saves performance.
|
![]() | DataObjectIds | |
![]() | DataObjectTypeIds | |
![]() | DataObjectUIds | |
![]() | ExcludeDataObjectIds | |
![]() | Filter |
Certain attributes on the filter is handled specially:
* AcceptanceFlags and ActionStatus is only used by ProcessController.GetActivityManager()
* RootNodeId is never used - the caller must translate it to the treenode load options.
|
![]() | FilterExpressions | |
![]() | IdNegList |
Negative list of dataobject ID's.
No objects with the provided ID's are loaded.
|
![]() | IdPosList |
Positive list of dataobject ID's. Unless the list is empty,
only objects with the provided ID's are loaded.
|
![]() | MustBeReferredByDataObjectIds | |
![]() | MustHaveReferenceToDataObjectIds | |
![]() | NotReferredThroughRefPropertyIdList |
Only object which are not referred to by any object through the provided reference propertyies are loaded.
|
![]() | OverrideAccessModifier |
Specifies whether the access modifier specified in AccessModifierClassInfo should be overridden.
An eventual access modifier specified on the data object type, of the data objects being loaded, is also overridden.
|
![]() | OverrideDataObjectSecurity |
Determines whether dataobjects should be loaded even though the user doesn't have access to them.
|
![]() | OverrideFilter |
Determines whether the filter (expressions) should be disregarded.
Note: This option is primarily for the cache refresh metod in AppLogic.
|
![]() | OverrideSecurity |
Sets the following flags:
- OverrideDataObjectSecurity
- OverridePropertySecurity
- OverrideAccessModifier
|
![]() | ParentIds | |
![]() | ReferredObjectIdList |
Only object which refers the provided data objects through a reference property are loaded.
|
![]() | ReferringObjectIdList |
Only object which are referred to by the provided data objects through a reference property are loaded.
|
![]() | SearchFullTextIndex |
Defines if a fulltext search is required.
|
![]() | SearchString |
If SearchString is defined only objects which match the search string is loaded.
|
![]() | ShortTextVersions |
Determines whether only short versions of the contents
of the various value properties of datatype=text will be loaded.
Loading the short versions improves performance.
|
![]() | SkipAllObjects |
If this option is set nothing will be loaded at all!
|
![]() | SkipDBLockedObjects | Obsolete.
Determines whether locked objects are skipped.
If set to true, READPAST is used as locking hint in the database.
Used in for instance dataobjlst.aspx as it increases the throughput.
It may cause objects to disappear from the list while being updated in another transaction.
To be used with grat caution.
|
![]() | SkipObjectsWithInfiniteDateTimeValues |
Skip objects with infinite date time values in the properties specified in the list.
An infinite date time is a date time value where the year is 9999. Only the year part of the date time is checked.
|
![]() | SqlFilterParameters |
Can hold parameters to the custom sql filters applied in SqlFilters.
|
![]() | SqlFilters |
SqlFilters can be used to apply custom sql filtering to the data object query.
Each filter is added like this: "[where|and] ([filter])".
Using the SqlFilters requires knowledge of the construction of the data object query!
SqlFilters should ONLY be used if none of the other available filters can be applied!
Examples:
- "do.number > 100"
- "not exists (select 1 from sometable as st where st.doid = do.id)"
|
![]() | TemplateStatus | |
![]() | TreeNodeChildren |
Levels of children to load under those object provided in TreeNodeIdList.
TreeNodeChildren does only have effect of TreeNodeIdList contains some elements.
All means all nodes on all leves under the provided objects
None: No child objects are loaded.
OneLevel: One level of children are loaded (the direct children)
TwoLevels: Two levels of children are loaded (children and childrens children)
ThreeLevels: Three levels of children are loaded.
|
![]() | TreeNodeIdList |
Only load object which has the provided parents or children
See also TreeNodes, TreeNodeChildren og TreeNodeParents.
|
![]() | TreeNodeParents |
Behaviour for loading objects in TreeNodeIdList.
TreeNodeParents only has effect of TreeNodeIdList contains some elements.
None: No parents to the objects in TreeNodeIdList are loaded.
RootPath: Direct nodes on the path from the object in TreeNodeIdList to the ROOT are loaded.
RootPathAndChildren: As RootPath, but immediate children to nodes are also loaded.
|
![]() | TreeNodes |
Load the objects as provided in TreeNodeIdList
|
![]() | TypeIdNegList |
Negative list of dataobject Type ID's.
The types with the provided UID's will not be loaded.
|
![]() | UIdPosList |
Positive list of dataobject UID's. Unless the list is empty,
only objects with the provided UID's are loaded.
|
![]() | UnresolvedFilterExpressions |
Unresolved filter expressions are added using IDataObjectLoadOptionsBase.AddFilterExpression()
|
Name | Description | |
---|---|---|
![]() | SkipCheckForTypeChanges |
The check for changes to the DataObjectType object can be skipped when running inside a loop.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() ![]() | IDataObjectLoadOptionsBaseSqlFilters |
States a list of sql filters.
Sql filters are added to the "where" clause of the query used for loading data objects.
Using sql filters requires knowledge of how the data object query is constructed
and should be used with great caution.
|