Skip to main content

Add/Update an Attribute (DB Entity)

Follow the steps below to add/update an attribute:

  1. Open the DB Entities Folder

    • In the Explorer menu, right-click the created DB Entity.
    • Select Add/Update Attribute.
  2. Configure Attribute Properties

    • In the Properties Panel, click '+New'.
    • Set the required properties as per the table below.
    • Repeat this step to add multiple attributes.
    • Click Save.
PropertyDescriptionComments
Name*Name of the attribute.Must start with a letter followed by alphanumeric characters or ''. No spaces or special characters except ''. Cannot start with a number.
Data Type*The data type of the attribute.Options: String, Integer, Long, Double, Boolean, DateTime.
RelationshipDefines entity relationships.Options: One-One, Many-One, Many-Many.
Reference Entity*The related entity.Visible only if a relationship is selected.
Reference Attribute*The attribute in the related entity.Visible only if a reference entity is selected.
Primary KeySpecifies if this is the primary key.Only one primary key per entity. Default: No (except for Id).
MandatorySpecifies if this attribute is required.Default: No.
UniqueEnsures unique values for this attribute.Default: No.
EncryptedSpecifies if this attribute should be encrypted.Default: No.
Encryption KeyThe key used for encryption.Visible only if Encrypted = Yes.
LengthMaximum number of characters or digits.Applicable for String and Number data types.
Date OptionDefines how DateTime attributes behave.Options: Fixed (specific date), Current Date (auto-updates).
Cascade DeleteIf enabled, deleting a parent removes child records.Default: No.
Default ValueThe initial value of the attribute.-
ExampleSample data for reference.Displayed in API documentation.
ScaleNumber of decimal places (for Double).Example: In 123.456, scale = 3 (digits after decimal).
PrecisionTotal digits stored (for Double).Example: In 123.456, precision = 6 (all digits).
DescriptionA summary of the attribute.Optional.

Note: An asterisk (*) denotes a mandatory property.

Upon successful addition, the message "DB Entity saved Successfully" appears.

Add/Update Attribute

Add/Update Attribute