Skip to main content

ReadOnlyAttribute Class

Makes a TdxEMFDataSet component’s field bound to an entity class’s field/property read-only.

Declaration

ReadOnlyAttribute = class(
    TCustomAttribute
)

Remarks

Assigning a collection of entity objects to a TdxEMFDataSet component automatically creates a dataset field for each field/property contained in these objects. The ReadOnlyAttribute allows you to initialize a dataset field’s ReadOnly property to True by marking the corresponding field/property with the ReadOnlyAttribute.

Inheritance

TObject
TCustomAttribute
ReadOnlyAttribute
See Also