Namespace: Semata.DataStore.ObjectModel
The base class for the wrapper for an Attribute, or Association that has the annotation "[property]" The value is loaded on demand and cached. The value is only set in the DataStore when the parent ItemObject is written.
public abstract class ValuePropertyImpl<V> : ValueProperty where V : IEquatable<V>
Inherits: ValueProperty
Properties
Name | Description |
IsChanged |
Returns true if the value has been changed |
Name |
The name of the property. |
RawValue |
The value that has been set. It will only equal Value if it is valid. |
Required |
True if a value is required |
StoredValue |
The stored value. It will equal Value if that has not been changed that is valid. |
Unique |
True if any value needs to be unique |
Value |
The current value. It will equal either the StoredValue, or a valid value to which it has been changed. |
Methods
Name | Description |
CancelEdit() |
Cancel any changes to the value |
CheckValueSet(string) |
Adds an error if the value is not null, or if a string not empty. |