create

@Transactional(rollbackFor = [Exception::class], isolation = Isolation.READ_COMMITTED)
open fun create(createModel: CM, parameters: Parameters): M(source)

Default implementation for creating a new entity from given create model

Return

Model of the created entity

Parameters

createModel

Create model containing data of the entity to create

parameters

Parameters to use for creating