The primary template for mapping an entity type to its corresponding table type.
| ENTITY | The entity type to map. |
sqt::TableMapping is a template intended to be specialized for each entity type. To enable table mapping for a specific entity type, its table type should be registered using the SQT_REGISTER macro.
The SQT_REGISTER macro generates a partial specialization of sqt::TableMapping for the specified entity type, defining a type alias that refers to the corresponding table type.
There are two helper templates to access the table type and its instance: