QxOrm  1.5.0
C++ Object Relational Mapping library

qx::dao::strategy : class inheritance strategy and database (Concrete Table Inheritance is the default strategy used by QxOrm library) More...

#include <QxDaoStrategy.h>

List of all members.

Public Types

enum  inheritance { single_table_inheritance, class_table_inheritance, concrete_table_inheritance }

Detailed Description

qx::dao::strategy : class inheritance strategy and database (Concrete Table Inheritance is the default strategy used by QxOrm library)

With ORM tools, there is usually 3 strategies to manage inheritance and database :

  • Single Table Inheritance
  • Class Table Inheritance
  • Concrete Table Inheritance

QxOrm works by default with Concrete Table Inheritance strategy (others are not supported yet). Many tutorials and forums are available on internet to more details about ORM inheritance and database. You can find a sample in the directory ./test/qxDllSample/dll2/ with the class BaseClassTrigger.

Definition at line 62 of file QxDaoStrategy.h.


Member Enumeration Documentation

Enumerator:
single_table_inheritance 
class_table_inheritance 
concrete_table_inheritance 

Definition at line 65 of file QxDaoStrategy.h.


The documentation for this struct was generated from the following file: