Get TypeName from SQL table name


Is there an easy way to get the TypeName from SQL table name? One of the errors I am looking at gives me the SQL table name and I would like to convert it to the TypeName.

ex: what is the TypeName for table ‘C3_2_STRUCT_REGION_PAR’


Not currently. In your case, the table name isn’t the root table name for a type. Looking at it it appears to be a child array/map table for the type Region or a type that extends Region (e.g. “STRUCT_REGION” is the schema name for the Region type. If you start with that you can do:


to find where all of the child tables live.