registerModel method
Register a model schema (indexed by both model name and table name).
Implementation
void registerModel(ModelSchema schema) {
_models[schema.name] = schema;
_modelsByTable[schema.tableName] = schema;
}
Register a model schema (indexed by both model name and table name).
void registerModel(ModelSchema schema) {
_models[schema.name] = schema;
_modelsByTable[schema.tableName] = schema;
}