UserIdLoadOptions Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class UserIdLoadOptions : DataObjectIdLoadOptions
The UserIdLoadOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | UserIdLoadOptions |
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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | AllVersions |
Determines whether only the newest (default) or all versions should be loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | Attributes | |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | DataObjectIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | DataObjectTypeIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | DataObjectUIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | ExcludeDataObjectIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | FilterExpressions | (Inherited from DataObjectLoadOptionsBase.) |
![]() | IdNegList |
Negative list of dataobject ID's.
No objects with the provided ID's are loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | IdPosList |
Positive list of dataobject ID's. Unless the list is empty,
only objects with the provided ID's are loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | MaxObjects |
Specify the maximum number of DataObject ID's to retrieve
(Inherited from DataObjectIdLoadOptions.) |
![]() | MustBeReferredByDataObjectIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | MustHaveReferenceToDataObjectIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | NotReferredThroughRefPropertyIdList |
Only object which are not referred to by any object through the provided reference propertyies are loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | OverrideDataObjectSecurity |
Determines whether dataobjects should be loaded even though the user doesn't have access to them.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | OverrideFilter |
Determines whether the filter (expressions) should be disregarded.
Note: This option is primarily for the cache refresh metod in AppLogic.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | OverrideSecurity |
Sets the following flags:
- OverrideDataObjectSecurity
- OverridePropertySecurity
- OverrideAccessModifier
(Inherited from DataObjectLoadOptionsBase.) |
![]() | ParentIds | (Inherited from DataObjectLoadOptionsBase.) |
![]() | ReferredObjectIdList |
Only object which refers the provided data objects through a reference property are loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | ReferringObjectIdList |
Only object which are referred to by the provided data objects through a reference property are loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | SearchFullTextIndex |
Defines if a fulltext search is required.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | SearchString |
If SearchString is defined only objects which match the search string is loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | SkipAllObjects |
If this option is set nothing will be loaded at all!
(Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | SqlFilterParameters |
Can hold parameters to the custom sql filters applied in SqlFilters.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | 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)"
(Inherited from DataObjectLoadOptionsBase.) |
![]() | TemplateStatus | (Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | TreeNodeIdList |
Only load object which has the provided parents or children
See also TreeNodes, TreeNodeChildren og TreeNodeParents.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | 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.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | TreeNodes |
Load the objects as provided in TreeNodeIdList
(Inherited from DataObjectLoadOptionsBase.) |
![]() | TypeIdNegList |
Negative list of dataobject Type ID's.
The types with the provided UID's will not be loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | UIdPosList |
Positive list of dataobject UID's. Unless the list is empty,
only objects with the provided UID's are loaded.
(Inherited from DataObjectLoadOptionsBase.) |
![]() | UnresolvedFilterExpressions |
Unresolved filter expressions are added using IDataObjectLoadOptionsBase.AddFilterExpression()
(Inherited from DataObjectLoadOptionsBase.) |
Name | Description | |
---|---|---|
![]() | SkipCheckForTypeChanges |
The check for changes to the DataObjectType object can be skipped when running inside a loop.
(Inherited from DataObjectLoadOptionsBase.) |
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.
(Inherited from DataObjectLoadOptionsBase.) |