Click or drag to resize

ReferencePropertyValue Class

Models the value of one referenced DataObject on a reference property on a DataObjectVersion
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelReferencePropertyValue

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class ReferencePropertyValue : IObjectWithId, 
	IReferencePropertyValue, ICloneable

The ReferencePropertyValue type exposes the following members.

Constructors
  NameDescription
Public methodReferencePropertyValue(ReferencePropertyValue)
Constuct the object using another ReferencePropertyValue object
Public methodReferencePropertyValue(ReferenceProperty, Int32)
Construct the object with the property and the ID of the referred object.
Public methodReferencePropertyValue(ReferenceProperty, Int32, String)
Construct the object with the property, the referred object and the display name of the referred object
Public methodReferencePropertyValue(ReferenceProperty, Int32, String, Boolean)
Construct the object with the property, the referred object and the display name of the referred object
Top
Properties
  NameDescription
Public propertyAttributes
Collection rummer attribut værdier tilknyttet det refererede dataobjekt. Collection rummer en entry for hver attribut-property, der er defineret på reference property'en. Collection er sorteret på vorder.
Public propertyDataObjectId
Id of the referred data object.
Public propertyDeleted
If true, the referred data object is deleted
Public propertyDisplayName
DisplayName of the referenced DataObject
Public propertyId
The DataObject ID of the referenced object
Public propertyValue
String represenation of the referred DataObject. The value is always the DisplayName of the object. The value is stored on the database for sorting and for search.
Top
Methods
  NameDescription
Public methodClone
Public methodIsEqualTo
Compares to ReferencePropertyValue objects based on the ID of the referred object and each attribute value
Public methodToString
Returns the display name of the referred object
(Overrides ObjectToString.)
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 methodIObjectWithId.GetId
Top
See Also