Click or drag to resize

DataObjectVersionSetProperty Class

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

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

The DataObjectVersionSetProperty type exposes the following members.

Constructors
  NameDescription
Public methodDataObjectVersionSetProperty(BaseProperty)
Construct based on a property object
Public methodDataObjectVersionSetProperty(DataObjectVersionSetProperty)
Construct using another DataObjectVersionSetProperty 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 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 propertyModified
Has the property changed compared to the previous version
(Inherited from DataObjectVersionProperty.)
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 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.)
Public propertyValueCount
Public propertyValueIds
Contains SetPropertyValue ids.
Top
Methods
  NameDescription
Public methodCheckAndAddValue
Adds a value for the property. If the value has already been added then nothing happens.
Public methodClearValue (Inherited from DataObjectVersionProperty.)
Public methodClearValues
Public methodClone
The Clone metode is mainly for DataObjectVersion.Clone and for the DataObject.AddVersion metodes.
(Overrides DataObjectVersionPropertyClone.)
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 the (first) SetPropertyValue object
(Overrides DataObjectVersionPropertyGetValue.)
Protected methodHasAValue
Does the property have a value?
(Overrides DataObjectVersionPropertyHasAValue(Boolean).)
Public methodIsEqualTo
Compares to DataObjectVersionProperty objects based on the ID's of the SetPropertyValue objects
(Overrides DataObjectVersionPropertyIsEqualTo(DataObjectVersionProperty).)
Public methodIsValuePropertyWithLog
Returns true if its a text property with log
(Inherited from DataObjectVersionProperty.)
Protected methodSetValue
Sets the value of the property. An exception is raised if the value is not a SetPropertyValue object or null.
(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)
Returns string representation of the object.
(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