CreateOptions
Index
Properties
optionalmanaged
optionalpartial
this option disables the strict typing which requires all mandatory properties to have value, it has no effect on runtime
optionalpersist
persist the entity automatically - this is the default behavior and is also configurable globally via persistOnCreate option
optionalschema
create entity in a specific schema - alternatively, use wrap(entity).setSchema()
creates a managed entity instance instead, bypassing the constructor call