Namespace: Semata.DataStore.ObjectModel
Class: AttributeProperty<V>
Constructs a new instance of AttributeProperty
public: ^ AttributeProperty(ItemObject^ itemObject, String^ attributeTypeName, String^ propertyName, bool required, bool unique, Func<object, object>^ onChanged, Func<object, object>^ onWriting)
Parameters
Type | Name | Description |
ItemObject^ | itemObject | The ItemObject of which this is a property |
String^ | attributeTypeName | The name of the AttributeType from which this property was derived |
String^ | propertyName | Name of the property as it appears on the ItemObject |
bool | required | If true, value cannot be null |
bool | unique | If true, a non-null value needs to be unique |
Func<object, object>^ | onChanged | delegate that takes the value being set, after it has been converted, and returns a value |
Func<object, object>^ | onWriting | delegate that takes the value being written, prior to it being written, and returns a value |
Returns: MISSING PAGE