C++ C#

ValuePropertyImpl<V> Class

API Reference

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.

generic <typename V>
where V : IEquatable<V>
public ref class ValuePropertyImpl abstract : public ValueProperty

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.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.