This section describes the column parameters you can define when configuring entity properties in Entity Developer.
You can open the Column Editor dialog by:
button on the right side of the Column field
The Mapping dropdown menu sets the property mapping type to the column. The available options depend on the property type:
You can also configure mapping from the Class Editor by clicking the ellipsis
button in the Column field for properties that belong to a complex type.
For more information, see Complex type mapping.
By default, the column name is identical to the property name and follows the naming rules defined in the Model Settings dialog. If naming rules or the property name change, the default column name updates accordingly.
You can set a custom column name by entering it in the Column Name field. Additional options include:
Note
If the Not Null checkbox is not explicitly specified, its value is calculated based on the Nullable property value.
You can make optional adjustments to the column data type in the Column Editor dialog:
Specifies the database column data type. When set, the Fixed Length and Unicode checkboxes become unavailable.
When selected, specifies that the column stores fixed-length data (for example, BIT, CHAR, or BINARY types). A CHAR or BINARY column is created instead of VARCHAR or VARBINARY.
Specifies that the string data type in the model should match NCHAR or NVARCHAR types in the database.
Note
If not explicitly specified, the Unicode value is calculated based on the Default Unicode property from the model properties.
Specifies the maximum length for character or binary data types (such as CHAR, VARCHAR, BINARY, BIT, or VARBINARY).
Note
If not explicitly specified, this value is calculated based on the Default Length property from the model property set.
Specifies exact parameters for numeric values (for example, DECIMAL type in Oracle):
Note
If not explicitly specified, values are calculated based on the Default Precision and Default Scale properties from the model property set.
Specifies the value to be used during database creation script generation by the Telerik Data Access runtime or Entity Developer, which will be inserted into the database column.
Specifies the name of a unique constraint that includes the column and is used during database creation script generation by the Telerik Data Access runtime or Entity Developer itself.