klyn.data.SchemaManager.create
method

    public create(entityType as Type) as Void:

Description

Creates the missing structure for one mapped entity.

Parameters

Parameter | Description
--- | ---
`entityType` | Mapped entity type literal.

Throws

- EntityMappingException when the type is not in the factory model.
- SchemaValidationException when an existing structure conflicts.

Example

    schema.create(User.type)