Skip to main content

SqlFieldName (Property Keyword)

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 ];

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

FeedbackOpens in a new tab