TObjectDataSet - TFieldDef properties question

Issue #323 resolved
Adam Siwoń created an issue

Hi,

I’m trying to use Spring4D TObjectDataSet class and I have question. Is it possible to add attributes for properties to define properties values for TFieldDef class? I think about TFieldDef class properties like Size for string field, Precision and Scale for number field or Required for all fields. Maybe it could be added an event which allows additionaly prepare these values for particular properties. It could be fired from DoGetFieldType procedure. In event everyone could to use his own attributes to define particular properties values.

Comments (4)

  1. Stefan Glienke repo owner

    Hardcoding any attributes support for specifying all kinds of information is not a good idea but I like the suggestion about the event where everyone can then handle their custom attributes.

  2. Log in to comment