withKey

open fun withKey(key: EntityKey): EntityValue

Change the primary key for this entity.

Return

This entity.

Parameters

key

Primary key