Click or drag to resize

DataObjectLoadOptions Methods

The DataObjectLoadOptions type exposes the following members.

Methods
  NameDescription
Public methodAddAllFixedFields
Add alll possible fixed fields to the load options
Public methodAddFilterExpression(UnresolvedFilterExpression)
Add filter expression object to the collection
(Inherited from DataObjectLoadOptionsBase.)
Public methodAddFilterExpression(String, ExpInnerOperator, Boolean, String) (Inherited from DataObjectLoadOptionsBase.)
Public methodAddFilterExpression(String, ExpInnerOperator, IEnumerableGuid, String) (Inherited from DataObjectLoadOptionsBase.)
Public methodAddFilterExpression(String, ExpInnerOperator, IEnumerableInt32, String) (Inherited from DataObjectLoadOptionsBase.)
Public methodAddFilterExpression(String, ExpInnerOperator, DateTime, String) (Inherited from DataObjectLoadOptionsBase.)
Public methodAddFilterExpression(String, ExpInnerOperator, Int32, String) (Inherited from DataObjectLoadOptionsBase.)
Public methodAddFilterExpression(String, ExpInnerOperator, String, String) (Inherited from DataObjectLoadOptionsBase.)
Public methodAssignDisplayOptionsFromView
Assigns particular load options from a view. It is used in placed where DataObjects are loaded based on a view for display to the user. The method is not merged with AssignFromView since DataObjects sometimes are loaded based on a view without the need for all the normal view attributes.
Public methodAssignFrom
Initialize and object from another load options object
(Inherited from DataObjectLoadOptionsBase.)
Public methodAssignFromView
Assigns all options based on the view definition. The parent attribute from the view can be overridden with the parentId parameter.
(Overrides DataObjectLoadOptionsBaseAssignFromView(DataObjectView, Int32).)
Protected methodgetOverrideSecurity
Returns true if security shall be overridden on the data load.
(Overrides DataObjectLoadOptionsBasegetOverrideSecurity.)
Protected methodsetOverrideSecurity
Sets all securyty override flags (DataObjectSecurity, AccessModifier and Property)
(Overrides DataObjectLoadOptionsBasesetOverrideSecurity(Boolean).)
Public methodSetPaging
Sets the values of the MaxObjects and IndexFirst properties accordingly to load paginated data.
Public methodSetSearchString
Sets the value of SearchString unless the provided value is empty and leaveIfEmpty=true.
(Inherited from DataObjectLoadOptionsBase.)
Public methodValidateOptions
Validates that the supplied attributes are not mutual exclusive. An exception can be raised. In particular cases the attributes are corrected.
(Overrides DataObjectLoadOptionsBaseValidateOptions.)
Top
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
See Also