Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V22.1
  • NullableAttribute Class

    Allows a table column mapped to an entity class‘s field/property storing NULL values.

    Declaration

    NullableAttribute = class(
        TCustomAttribute
    )

    Remarks

    All columns are set to contain only non-NULL values, except for the following:

    Applying the NullableAttribute to a specific column overrides the default behavior and allows it to store NULL values. This is useful, for instance, when binding entity objects to data-aware controls using the TdxEMFDataSet component, because these controls normally populate a newly inserted table record with NULL values.

    Inheritance

    TObject
    TCustomAttribute
    NullableAttribute
    See Also