Click or drag to resize

DataObjectVersionProperty Class

Abstract class that models an assigned value for a property to a dataobject version.
Inheritance Hierarchy

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

The DataObjectVersionProperty type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectVersionProperty(BaseProperty)
Constructor taking the actual property.
Public methodDataObjectVersionProperty(DataObjectVersionProperty)
Construct the object based on another DataObjectVersionProperty 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.
Public propertyAllowsMultipleValues
Is true if the property is a single-valued set- or reference-property or if it is a multilingual value property.
Public propertyHasNonEmptyValue
Does the property have a non-empty value?
Public propertyHasValue
Does the property have a value - even if it is an empty string (in case it is a text property)?
Public propertyModified
Has the property changed compared to the previous version
Public propertyPropertyId
Id of the property
Public propertyPropertyType
Type of property (value, set or reference)
Public propertyPropertyUId
UId of the property
Public propertySystemName
SystemName of property
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.
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.
Top
Methods
  NameDescription
Public methodClearValue
Public methodClone
Abstract method to clone the object
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
Protected methodGetValue
Abstract method to get a property value of any type
Public methodStatic memberGetVersionProperty
Protected methodHasAValue
Does the property have a value?
Public methodIsEqualTo
Abstract method to compare two DataObjectVersionProperty objects
Public methodIsValuePropertyWithLog
Returns true if its a text property with log
Protected methodSetValue
Abstract method to set a property value of any type
Public methodToString
Returns textual representation of the object
(Overrides ObjectToString.)
Public methodToString(String)
Virtual method to return textual representation of the object
Public methodToString(String, Boolean)
Virtual method to return textual representation of the obect
Public methodToString(AppFormatInfo, Boolean)
Abstract method to return textual representation of the object
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