klyn.data.SchemaManager.validate
method

    public validate(entityType as Type) as Void:

Description

Validates one mapped physical structure without changing it.

Parameters

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

Throws

- EntityMappingException when the type is not in the factory model.
- SchemaValidationException when the structure differs.

Example

    schema.validate(User.type)