ReferenceProperty Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class ReferenceProperty : BaseProperty, IComparable
The ReferenceProperty type exposes the following members.
| Name | Description | |
|---|---|---|
| ReferenceProperty |
| Name | Description | |
|---|---|---|
| AllowsMultipleValues |
Does the property allow/support multiple values?
(Inherited from BaseProperty.) | |
| Attributes |
Rummer de attributter (om nogen) der er defineret for reference property'en.
Collection can be null.
| |
| ChangedBy | (Inherited from BaseProperty.) | |
| ChangeTime | (Inherited from BaseProperty.) | |
| ConfigLockFlags | (Inherited from BaseProperty.) | |
| ControlType | (Inherited from BaseProperty.) | |
| CreatedBy | (Inherited from BaseProperty.) | |
| CreateTime | (Inherited from BaseProperty.) | |
| DataVersion | (Inherited from BaseProperty.) | |
| Deleted | (Inherited from BaseProperty.) | |
| Description | (Inherited from BaseProperty.) | |
| Id | (Inherited from BaseProperty.) | |
| LookupScreen |
Controls which type of lookup-screen the property uses.
| |
| LookupURL |
LookupURL is only used if LookupScreen equals 'Custom'.
| |
| LookupViewId |
Denotes the id of the dataobject view that is used for the lookup screen.
| |
| MultipleValues |
Can the property refer multiple values or just one?
The value is controlled by the ControlType.
| |
| Name | (Inherited from BaseProperty.) | |
| Number | (Inherited from BaseProperty.) | |
| PropertyType | (Inherited from BaseProperty.) | |
| ReferenceObjectTypeId |
Controls that the property is only allowed to reference data objects of a certain type.
If zero all types of objects are allowed to be referenced.
| |
| SecurityDefined |
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.) | |
| SecurityGroups |
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.) | |
| System | (Inherited from BaseProperty.) | |
| SystemName | (Inherited from BaseProperty.) | |
| UId | (Inherited from BaseProperty.) |
| Name | Description | |
|---|---|---|
| CheckSecurity | (Inherited from BaseProperty.) | |
| Clone | (Overrides BasePropertyClone.) | |
| CloneProperty |
Clones the property and resets all relevant ID's
(Inherited from BaseProperty.) | |
| CompareTo | (Overrides BasePropertyCompareTo(Object).) | |
| CopyTo |
Called from impl. of Clone in sub classes.
(Inherited from BaseProperty.) | |
| FormatValue(Object) | (Inherited from BaseProperty.) | |
| FormatValue(Object, Boolean) | (Inherited from BaseProperty.) | |
| FormatValue(Object, AppFormatInfo, Boolean) |
Formats a value to a string using the property's settings.
(Overrides BasePropertyFormatValue(Object, AppFormatInfo, Boolean).) | |
| GetPropertyTypeString | (Inherited from BaseProperty.) | |
| GetWidthFactor |
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.) | |
| PassesFilter | (Inherited from BaseProperty.) | |
| ResetAll |
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.) | |
| SetControlType | (Overrides BasePropertySetControlType(PropertyControlType).) | |
| SetId | (Inherited from BaseProperty.) | |
| SupportsChangeEventHandler |
Returns true if the property supports onchange browsereventhandler association.
(Inherited from BaseProperty.) | |
| ToString | (Inherited from BaseProperty.) | |
| ToString(AppFormatInfo) | (Inherited from BaseProperty.) | |
| ValidatePropertyName |
Return true if the property name contains illegal character(s).
The following characters will be regarded as illegal characters:
\ ; | =[ ]| * ¤
(Inherited from BaseProperty.) |
| 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 | |
|---|---|---|
| IObjectWithDataVersion.GetDataVersion | (Inherited from BaseProperty.) | |
| IObjectWithGuid.GetGuid | (Inherited from BaseProperty.) | |
| IObjectWithId.GetId | (Inherited from BaseProperty.) | |
| IEntityObjectDataVersion |
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.) | |
| IEntityObjectId |
Unique id of the entity object within its entity type.
(Inherited from BaseProperty.) |