Click or drag to resize

BaseProperty Class

Base class for Reference, Set and Value properties.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelBaseProperty
    Omada.OE.ModelReferenceProperty
    Omada.OE.ModelSetProperty
    Omada.OE.ModelValueProperty

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public abstract class BaseProperty : IComparable, 
	IObjectWithId, IObjectWithGuid, IObjectWithDataVersion, ICloneable, IEntityObject, 
	IObjectWithLastChangedInfo

The BaseProperty type exposes the following members.

Constructors
  NameDescription
Public methodBaseProperty
Top
Properties
  NameDescription
Public propertyAllowsMultipleValues
Does the property allow/support multiple values?
Public propertyChangedBy
Public propertyChangeTime
Public propertyConfigLockFlags
Public propertyControlType
Public propertyCreatedBy
Public propertyCreateTime
Public propertyDataVersion
Public propertyDeleted
Public propertyDescription
Public propertyId
Public propertyName
Public propertyNumber
Public propertyPropertyType
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.
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.
Public propertySystem
Public propertySystemName
Public propertyUId
Top
Methods
  NameDescription
Public methodCheckSecurity
Public methodStatic memberCheckSecurity(BaseProperty) Obsolete.
Public methodStatic memberCheckSecurity(BaseProperty, UserInfo)
Returns true if a user has access to view and use (the values of) a property.
Public methodClone
Public methodCloneProperty
Clones the property and resets all relevant ID's
Public methodCompareTo
Protected methodCopyTo
Called from impl. of Clone in sub classes.
Public methodFormatValue(Object)
Public methodFormatValue(Object, Boolean)
Public methodFormatValue(Object, AppFormatInfo, Boolean)
Formats a value to a string using the property's settings.
Public methodStatic memberGetModifiedSystemName
Returns a valid SystemName based on a suggested input. Allowed char are: a-z, A-Z, 0-9, _ (underscore)
Public methodStatic memberGetPropertyDataTypeFlags
Public methodStatic memberGetPropertyTypeFlags
Public methodGetPropertyTypeString
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.
Public methodStatic memberMultipleValuesAllowed
Public methodPassesFilter
Public methodStatic memberRepeatDirectionPossible
Public methodResetAll
Resets ID's in the object. Method is used when a new property is created in the database based on a copy of another object.
Protected methodSetControlType
Protected methodSetId
Public methodSupportsChangeEventHandler
Returns true if the property supports onchange browsereventhandler association.
Public methodToString
(Overrides ObjectToString.)
Public methodToString(AppFormatInfo)
Public methodValidatePropertyName
Return true if the property name contains illegal character(s). The following characters will be regarded as illegal characters: \ ; | =[ ]| * ¤
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
  NameDescription
Explicit interface implementationPrivate methodIObjectWithDataVersion.GetDataVersion
Explicit interface implementationPrivate methodIObjectWithGuid.GetGuid
Explicit interface implementationPrivate methodIObjectWithId.GetId
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.
Explicit interface implementationPrivate propertyIEntityObjectId
Unique id of the entity object within its entity type.
Top
See Also