Class: EntityBuilder
Abstract base class for all entity builders. An Entity builder is a class of objects which can be added to an Entity (usually by using special properties or statements) to "build" that entity. Building an entity, meaning to add columns to its "main" table, create other tables, add properties to its mapper, ... To do so an EntityBuilder must override the corresponding method(s). This is to ensure the different operations happen in the correct order (for example, that the table is fully created before the mapper that use it is defined).
Methods
add_mapper_extension (self, ext)
add_mapper_property (self, name, prop)
add_table_column (self, column)
helper methods
after_mapper (self)
after_table (self)
before_mapper (self)
before_table (self)
create_non_pk_cols (self)
create_pk_cols (self)
create_properties (self)
Subclasses may override this method to add properties to the involved entity.
create_tables (self)
Subclasses may override this method to create tables.
