Skip to main content
Previous sectionNext section

SqlFieldName

Specifies the field name to use in the SQL projection. Applies to persistent classes.

Usage

To override the default name for this property when the table is projected to SQL, use the following syntax:

Property name As classname [ SqlFieldName = sqlfieldname ];
Copy code to clipboard

Where sqlfieldname is an SQL identifier.

Details

This keyword specifies the column name used to identify the property in its SQL projection.

Default

If you omit this keyword, the property name is used as the SQL column name.

See Also