Root / Assembly / ARCCore / AREnumType / PropertyKeyEnum / PP / _Member / Invalid

PK

Invalid

KeyValue
DescriptionTimestamp when invalidated / 'deleted'.
Not necessary to use when a property is simply replaced by a new property, but because of NoRealDeletion, there has to be a mechanism which can at least simulate deletion of data.
Note: If you need to remove or 'undo' an Invalid-operation, set Invalid to '0001-01-01' which is the default value for a DateTime in .NET (this is a practical approach because it is difficult to set Invalid the field Invalid (or something like that)).
LongDescriptionSee also IsValid and DataRetention.

When received over PropertyStream TryStore will usually delete the actual object from its object storage.
TODO: Remember to implement this properly. For instance, for the following sequence\r TODO: Customer/42/FirstName = John
TODO: Customer/42/FirstName.Invalid = 2020-03-20
TODO: Customer/42/FirstName.IId = Agent:42
TODO: WE ARE STILL MISSING IMPLEMENTATION IN PRich (decision about how PropertyStreamLine.ParseAndStorePropertyStreamLine is meant to handle this)TODO: -----TODO: MOST PROBABLY PropertyStreamLine.ParseAndStorePropertyStreamLine shall do nothing at all. But a HTML-view or similar should be careful and maybe NOT show the value when Invalid is present
PKTypeAttributeTimestamp when invalidated / 'deleted'.
Not necessary to use when a property is simply replaced by a new property, but because of NoRealDeletion, there has to be a mechanism which can at least simulate deletion of data.
Note: If you need to remove or 'undo' an Invalid-operation, set Invalid to '0001-01-01' which is the default value for a DateTime in .NET (this is a practical approach because it is difficult to set Invalid the field Invalid (or something like that)).

Cardinality, Description, EnumMember, EnumType, IsObligatory, LongDescription, Type

3 items


Generated 2020-10-13 11:11:02.602 UTC