klyn.data.EntityModel.EntityModel
constructor
public EntityModel(mappedTypes as IList<Type>):
Description

Creates an immutable entity model from a validated type list.

Parameters
ParameterDescription
mappedTypesComplete mapped type list.
Throws
  • EntityMappingException when a type is null or duplicated.
Example
model = EntityModel([User.type, Order.type])