klyn.data.internal.EntityEntry.EntityEntry
constructor

    public EntityEntry(
    entity as Object,
    mapping as SQLMappedEntity,
    state as EntityTrackingState
    ):

Description

Creates one tracking entry.

Parameters

Parameter | Description
--- | ---
`entity` | Exact mapped instance.
`mapping` | Factory-cached mapping.
`state` | Initial lifecycle state.

Example

    entry = EntityEntry(user, mapping, EntityTrackingState.MANAGED)