Click or drag to resize

SetProperty Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelBaseProperty
    Omada.OE.ModelSetProperty

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class SetProperty : BaseProperty, 
	IComparable

The SetProperty type exposes the following members.

Constructors
  NameDescription
Public methodSetProperty
Top
Properties
  NameDescription
Public propertyAllowsMultipleValues
Does the property allow/support multiple values?
(Inherited from BaseProperty.)
Public propertyChangedBy
(Inherited from BaseProperty.)
Public propertyChangeTime
(Inherited from BaseProperty.)
Public propertyConfigLockFlags
(Inherited from BaseProperty.)
Public propertyControlType
(Inherited from BaseProperty.)
Public propertyCreatedBy
(Inherited from BaseProperty.)
Public propertyCreateTime
(Inherited from BaseProperty.)
Public propertyDataVersion
(Inherited from BaseProperty.)
Public propertyDeleted
(Inherited from BaseProperty.)
Public propertyDescription
(Inherited from BaseProperty.)
Public propertyHideUndefined
Returns true of it must be possible to re-select the value "Please select a value" if another value has already been selected. Only in effect if the control is a dropdown.
Public propertyId
(Inherited from BaseProperty.)
Public propertyMultipleValues
Public propertyName
(Inherited from BaseProperty.)
Public propertyNumber
(Inherited from BaseProperty.)
Public propertyPropertyType
(Inherited from BaseProperty.)
Public propertyRepeatDirection
Only used if ControlType in [Radio, Checkbox].
Public propertySecurityDefined
Returns true of security has been defined for the property. Use the CheckSecurity() method to test of a user has access to the property.
(Inherited from BaseProperty.)
Public propertySecurityGroups
Contains Users and UserGroup which have access to the property. Can be null. Use the CheckSecurity() method to test of a user has access to the property.
(Inherited from BaseProperty.)
Public propertySystem
(Inherited from BaseProperty.)
Public propertySystemName
(Inherited from BaseProperty.)
Public propertyUId
(Inherited from BaseProperty.)
Public propertyValues
SetPropertyValues are and must be sorted by VOrder. The SetPropertyValues collection is "protected" so its not possible to change sorting etc.
Top
Methods
  NameDescription
Public methodAddNewPropertyValue
Adds a new (empty) property value. Set the property value's vorder to max. of all non-deleted property values.
Public methodAddPropertyValue
Adds a propertyvalue object to the setproperty.
Public methodAddPropertyValues
Adds a list of propertyvalue objects to the setproperty.
Public methodCheckSecurity
(Inherited from BaseProperty.)
Public methodClone
Public methodCloneProperty
Clones the property and resets all relevant ID's
(Inherited from BaseProperty.)
Public methodCompareItems
Compares the collection of SetPropertyValue objects in two properties. It returns a collection of SetPropertyValue objects which differ between the two property objects.
Public methodCompareTo
Protected methodCopyTo
Called from impl. of Clone in sub classes.
(Inherited from BaseProperty.)
Public methodFormatValue(Object)
(Inherited from BaseProperty.)
Public methodFormatValue(Object, Boolean)
(Inherited from BaseProperty.)
Public methodFormatValue(Object, AppFormatInfo, Boolean)
Formats a value to a string using the property's settings.
(Overrides BasePropertyFormatValue(Object, AppFormatInfo, Boolean).)
Public methodGetPropertyTypeString
(Inherited from BaseProperty.)
Public methodGetWidthFactor
Returns a number between 1 and 5. The number is used in views and indicates a relative width of the field. 1 = very narrow, 2 = narrow, 3 = normal, 4 = wide, 5 = very wide.
(Overrides BasePropertyGetWidthFactor.)
Public methodPassesFilter
(Inherited from BaseProperty.)
Public methodResetAll
Resets the object id and other fields. The method is used when a new property is created as a copy of another object.
(Overrides BasePropertyResetAll.)
Protected methodSetControlType
Protected methodSetId
Public methodSetValueDeleted(SetPropertyValue, Boolean)
Public methodSetValueDeleted(SetPropertyValue, Boolean, Boolean)
Sets the deleted flag for the value object
Public methodSetValueVOrder(SetPropertyValue, Int32)
Public methodSetValueVOrder(SetPropertyValue, Int32, Boolean)
Set the vorder for the values of the property
Public methodSupportsChangeEventHandler
Returns true if the property supports onchange browsereventhandler association.
(Inherited from BaseProperty.)
Public methodToString
(Inherited from BaseProperty.)
Public methodToString(AppFormatInfo)
(Inherited from BaseProperty.)
Public methodValidatePropertyName
Return true if the property name contains illegal character(s). The following characters will be regarded as illegal characters: \ ; | =[ ]| * ¤
(Inherited from BaseProperty.)
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
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithDataVersion.GetDataVersion
(Inherited from BaseProperty.)
Explicit interface implementationPrivate methodIObjectWithGuid.GetGuid
(Inherited from BaseProperty.)
Explicit interface implementationPrivate methodIObjectWithId.GetId
(Inherited from BaseProperty.)
Explicit interface implementationPrivate propertyIEntityObjectDataVersion
The data version of an entity object is incremented every time it gets updated. If the entity object class embeds other objects (like a DataObjectType embeds a number of BaseProperty objects) then the DataVersion is also "touched" when an embedded object changes.
(Inherited from BaseProperty.)
Explicit interface implementationPrivate propertyIEntityObjectId
Unique id of the entity object within its entity type.
(Inherited from BaseProperty.)
Top
See Also