ClientNameToDbName

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalString ClientNameToDbName( SalString sClientName )

The ClientNameToDbName converts an object name from server name conventions to client framework name conventions.

Parameters

Name Description
SalString sClientName The object name with client framework name conventions.

Returns

The return value is object name with server name conventions.

Comments

This method works by adding an underscore (_) before all uppercase characters (except the first character) and then converting the name to uppercase. For example ClientNameToDbName( 'OrderItem' ) -> 'ORDER_ITEM'.

Use method DbNameToClientName to perform the reverse conversion.