Click or drag to resize

DataObjectVersionValueProperty Class

Models an assigned value for a value property to a dataobject version.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelDataObjectVersionProperty
    Omada.OE.ModelDataObjectVersionValueProperty

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

The DataObjectVersionValueProperty type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectVersionValueProperty(BaseProperty)
Construct the object based on a property object
Public methodDataObjectVersionValueProperty(DataObjectVersionValueProperty)
Construct the object based on another DataObjectVersionValueProperty object
Top
Properties
  NameDescription
Public propertyAccessDenied
Returns true of the object is inaccessible due to missing rights. Eventhough the value is not avaialble, ValueAvailable can still be true.
(Inherited from DataObjectVersionProperty.)
Public propertyAllowsMultipleValues
Is true if the property is a single-valued set- or reference-property or if it is a multilingual value property.
(Inherited from DataObjectVersionProperty.)
Public propertyDataType
DataType of the Value property
Public propertyHasNonEmptyValue
Does the property have a non-empty value?
(Inherited from DataObjectVersionProperty.)
Public propertyHasValue
Does the property have a value - even if it is an empty string (in case it is a text property)?
(Inherited from DataObjectVersionProperty.)
Public propertyLogText
Only used if datatype=text and haslog=true. Contains a string representation of the full log text as shown in the Web dialog. Attribute is read only. The value is read from the property xml on tbldataobjversion.
Public propertyModified
Has the property changed compared to the previous version
(Inherited from DataObjectVersionProperty.)
Public propertyMultiLangText
Is used when datatype=MultiLangText. Holds the text values in all the specified languages. Note: Value returns the text value in the identity user's language.
Public propertyPropertyId
Id of the property
(Inherited from DataObjectVersionProperty.)
Public propertyPropertyType
Type of property (value, set or reference)
(Inherited from DataObjectVersionProperty.)
Public propertyPropertyUId
UId of the property
(Inherited from DataObjectVersionProperty.)
Public propertySystemName
SystemName of property
(Inherited from DataObjectVersionProperty.)
Public propertyUrl
Anvendes kun hvis datatype=hyperlink.
Public propertyValue
Based on the type and datatype of TypeProperty.Property Value contains either a: string, int, datetime, double, bool, timespan, a SetPropertyValue object or a ReferencePropertyValue object. Value can also be null. Value should not be used if ValueAvailable=false.
(Inherited from DataObjectVersionProperty.)
Public propertyValueAvailable
Tells whether Value has been loaded from the DB. Sometimes certain property values are not loaded in order to save performance. Event though ValueAvailable is true, AccessDenied can be true also.
(Inherited from DataObjectVersionProperty.)
Top
Methods
  NameDescription
Public methodClearValue (Inherited from DataObjectVersionProperty.)
Public methodClone
Memberwise clone of the object
(Overrides DataObjectVersionPropertyClone.)
Public methodGetFormatter
Returnes value property formatter depending on property data type
Public methodGetProperty
Returns the poperty object from the static cache based on PropertyId attribute The Property object is not embedded into the class because it will increase the size of the object graph during serialization/remoting
(Inherited from DataObjectVersionProperty.)
Protected methodGetValue
Returns one of the following (depending on the datatype of the value property): Data type 'Text' : string Data type 'Integer' : int Data type 'DateTime' : DateTime Data type 'Decimal' : double Data type 'Boolean' : bool Data type 'Hyperlink' : string Data type 'TimeSpan' : TimeSpan Data type 'MultiLangText' : string (the value in the identity user's language)
(Overrides DataObjectVersionPropertyGetValue.)
Protected methodHasAValue (Overrides DataObjectVersionPropertyHasAValue(Boolean).)
Public methodIsEqualTo
Compares to DataObjectVersionProperty objects
(Overrides DataObjectVersionPropertyIsEqualTo(DataObjectVersionProperty).)
Public methodIsTextPropertyWithLog
Returns true of the property is a text property with log.
Public methodIsValuePropertyWithLog (Overrides DataObjectVersionPropertyIsValuePropertyWithLog.)
Protected methodSetValue
Sets the value of the value property. An exception is raised if the value is of the wrong system datatype. (depending of the property's datatype different system datatypes are accepted). Likewise, an exception is raised if the value can't be parsed successfully.
(Overrides DataObjectVersionPropertySetValue(Object).)
Public methodToString
Returns textual representation of the object
(Inherited from DataObjectVersionProperty.)
Public methodToString(String)
Virtual method to return textual representation of the object
(Inherited from DataObjectVersionProperty.)
Public methodToString(String, Boolean)
Virtual method to return textual representation of the obect
(Inherited from DataObjectVersionProperty.)
Public methodToString(AppFormatInfo, Boolean)
When the property is with log, this method only returns the text value from the current version (and not the entire log)
(Overrides DataObjectVersionPropertyToString(AppFormatInfo, Boolean).)
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
See Also