TreSQL expression returning entity name.
TreSQL expression returning entity name. Typically it is a query from table referenced by tableName (NOT objectName!). Name expression is used in ORT.fill method if fillNames parameter is true when foreign key property of the object is resolved to name. In this case filter clause of name expression if present is replaced with this one - [<pk of referenced table> = <foreign key property value>] Examples: 1. name of entity emp (when used in ORT.fill method first table in table clause must be the one which is referenced by object foreign key property): emp/dept{firstname + ' ' + lastname + ', ' + deptname} 2. name of some entity as a comma separated list of columns. In this case expression will be transformed to: table_name {<column list>} registration_number + ", " + name, foundation_date
TreSQL expression defining property name.
Set name map for this NameMap implementation 1.
Set name map for this NameMap implementation 1. map: object name -> table name, 2. map: object name -> map: (property name -> column name), 3. map: table name -> name tresql expression 4. map: object name -> map: (property name -> name tresql expression)