Click or drag to resize
AttributeDataIndex Property
Gets or sets data index (e.g. XData) this attribute corresponds to.

When Element schema gets instantiated on existing entity, it's data part is usually stored in indexed manner. If DataIndex equals to 0 it indicates that data doesn't get serialized upon the entity itself (see Expression). It's important to keep all data indexes greater than 0 in a row - do not skip index numbers.

Since data indicies are persistant, change them sparingly throughout different versions of an object model.

Namespace: FDF.Common.ObjectModel
Assembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax
public int DataIndex { get; set; }

Property Value

Type: Int32
See Also