DataObjectVersionValueProperty Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataObjectVersionValueProperty : DataObjectVersionProperty, ICloneable
The DataObjectVersionValueProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataObjectVersionValueProperty(BaseProperty) |
Construct the object based on a property object
|
![]() | DataObjectVersionValueProperty(DataObjectVersionValueProperty) |
Construct the object based on another DataObjectVersionValueProperty object
|
Name | Description | |
---|---|---|
![]() | AccessDenied |
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.) |
![]() | AllowsMultipleValues |
Is true if the property is a single-valued set- or reference-property or if it is a multilingual value property.
(Inherited from DataObjectVersionProperty.) |
![]() | DataType |
DataType of the Value property
|
![]() | HasNonEmptyValue |
Does the property have a non-empty value?
(Inherited from DataObjectVersionProperty.) |
![]() | HasValue |
Does the property have a value - even if it is an empty string (in case it is a text property)?
(Inherited from DataObjectVersionProperty.) |
![]() | LogText |
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.
|
![]() | Modified |
Has the property changed compared to the previous version
(Inherited from DataObjectVersionProperty.) |
![]() | MultiLangText |
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.
|
![]() | PropertyId |
Id of the property
(Inherited from DataObjectVersionProperty.) |
![]() | PropertyType |
Type of property (value, set or reference)
(Inherited from DataObjectVersionProperty.) |
![]() | PropertyUId |
UId of the property
(Inherited from DataObjectVersionProperty.) |
![]() | SystemName |
SystemName of property
(Inherited from DataObjectVersionProperty.) |
![]() | Url |
Anvendes kun hvis datatype=hyperlink.
|
![]() | Value |
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.) |
![]() | ValueAvailable |
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.) |
Name | Description | |
---|---|---|
![]() | ClearValue | (Inherited from DataObjectVersionProperty.) |
![]() | Clone |
Memberwise clone of the object
(Overrides DataObjectVersionPropertyClone.) |
![]() | GetFormatter |
Returnes value property formatter depending on property data type
|
![]() | GetProperty |
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.) |
![]() | GetValue |
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.) |
![]() | HasAValue | (Overrides DataObjectVersionPropertyHasAValue(Boolean).) |
![]() | IsEqualTo |
Compares to DataObjectVersionProperty objects
(Overrides DataObjectVersionPropertyIsEqualTo(DataObjectVersionProperty).) |
![]() | IsTextPropertyWithLog |
Returns true of the property is a text property with log.
|
![]() | IsValuePropertyWithLog | (Overrides DataObjectVersionPropertyIsValuePropertyWithLog.) |
![]() | SetValue |
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).) |
![]() | ToString |
Returns textual representation of the object
(Inherited from DataObjectVersionProperty.) |
![]() | ToString(String) |
Virtual method to return textual representation of the object
(Inherited from DataObjectVersionProperty.) |
![]() | ToString(String, Boolean) |
Virtual method to return textual representation of the obect
(Inherited from DataObjectVersionProperty.) |
![]() | ToString(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).) |
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 | |
---|---|---|
![]() ![]() | IObjectWithGuid.GetGuid | (Inherited from DataObjectVersionProperty.) |
![]() ![]() | IObjectWithId.GetId | (Inherited from DataObjectVersionProperty.) |