[ROOT] / doc / toc / ARCCore / Class / IP / TrySetPP


SetPP = set property of property. Sets property of entity contained within this class.

Example: If this is a container class for 'Order' entities, a call could correspond to a PropertyStreamLine like 'Order/1968/CustomerId = 42, that is entityKey = '1968' and ikip = 'CustomerId = 42'.

Should be called if Indexing is desired for properties being stored.
TryStore used this method for instance.

If implementing class does not support Indexing, it can implement this method as follows:
=> (entity == null && !TryGetP(entityKey, out entity, out errorResponse)) ? false : entity.TrySetP(ikip, out errorResponse);

If implementing class supports Indexing, it should also implement -ITrySetPP-, that is, clearly stating that the class supports indexing.

See also GetKeysEqualToValue.


Details

Generated 2024-04-23 20:00:08.897 UTC