PK_ERROR_code_t PK_ENTITY_ask_partition ( --- received arguments --- PK_ENTITY_t entity, --- an entity --- returned arguments --- PK_PARTITION_t *const partition --- partition of entity --- (possibly PK_PARTITION_null) ) This function returns the partition containing the given entity. If the entity is an attribute definition, the partition will be PK_PARTITION_null, otherwise it will be non-null. Specific Errors: PK_ERROR_rollback_not_started Partitioned rollback is not active This function should only be called when partitioned rollback has been started with PK_DELTA_register_callbacks.