DataObjectVersionReferenceProperty Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataObjectVersionReferenceProperty : DataObjectVersionProperty, ICloneable
The DataObjectVersionReferenceProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataObjectVersionReferenceProperty(BaseProperty) |
Construct the object with a property object
|
![]() | DataObjectVersionReferenceProperty(DataObjectVersionReferenceProperty) |
Construct the object with another DataObjectVersionReferenceProperty 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.) |
![]() | DeletedValues |
Contains values where the referred object is deleted
|
![]() | 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.) |
![]() | Modified |
Has the property changed compared to the previous version
(Inherited from DataObjectVersionProperty.) |
![]() | 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.) |
![]() | ReferenceObjectTypeId |
Controls that the property is only allowed to reference data objects of a certain type.
If zero all types of objects are allowed to be referenced.
|
![]() | SystemName |
SystemName of property
(Inherited from DataObjectVersionProperty.) |
![]() | 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.) |
![]() | Values |
Sort order is unspecified.
|
Name | Description | |
---|---|---|
![]() | AddValue(ReferencePropertyValue) |
Adds a new value to the collection of calues
|
![]() | AddValue(Int32, String) |
Adds a new ReferencePropertyValue object to the collection of values
|
![]() | ClearValue | (Inherited from DataObjectVersionProperty.) |
![]() | Clone |
The Clone metode is mainly used by DataObjectVersion.Clone
and by DataObject.AddVersion metodes.
(Overrides DataObjectVersionPropertyClone.) |
![]() | 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 the (first) ReferencePropertyValue object in the collection of values
(Overrides DataObjectVersionPropertyGetValue.) |
![]() | HasAValue | (Overrides DataObjectVersionPropertyHasAValue(Boolean).) |
![]() | IsEqualTo |
Compares two DataObjectVersionReferenceProperty objects
(Overrides DataObjectVersionPropertyIsEqualTo(DataObjectVersionProperty).) |
![]() | IsValuePropertyWithLog |
Returns true if its a text property with log
(Inherited from DataObjectVersionProperty.) |
![]() | SetValue |
Clears the existing valueid of the reference property and assigns a new.
(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) |
Returns a string representation of the object
(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.) |