Namespace: Semata.DataStore.ObjectModel
Class: AssociationProperty<I>
Constructs a new instance of AssociationProperty
public: ^ AssociationProperty(ItemObject^ itemObject, String^ associationTypeName, String^ propertyName, bool required, bool unique, Func<object, object>^ onChanged, Func<object, object>^ onWriting, bool deleteRemovedAssociate)
Parameters
Type | Name | Description |
ItemObject^ | itemObject | The ItemObject of which this is a property |
String^ | associationTypeName | The name of the AssociationType 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 |
bool | deleteRemovedAssociate | An associate that becomes unset is deleted |
Returns: MISSING PAGE