Methods
-
register(name, dbContextName, mapping)
-
Register a Mapping
Parameters:
Name Type Description name
string Name of the mapping
dbContextName
string DB context / connection name
mapping
BookshelfMapping Mapping description of columns, relations etc.
- Source:
-
compile(name)
-
Compile a BookshelfMapping for use with an EntityRepository
Parameters:
Name Type Description name
string Name of a registered Mapping
- Source:
Returns:
compiled Mapping, ready to use
- Type
- EntityRepository