The managed type of this factory
Methods that are added to object instances This property is an alias for this factory type prototype
methods
Loads the instance for the given id, or null if the id does not exists.
A Promise that will be fulfilled when the asynchronous operation completes.
The id to query
Optional options: { The load options
Optional depth?: number | booleanThe object depth which will be loaded. Depth 0 loads only this object,
true loads the objects by reachability.
Optional local?: booleanIndicates whether the local copy (from the entity manager) of an object should be returned if it exists. This value might be stale.
Optional refresh?: booleanIndicates whether the object should be revalidated (cache bypass).
Optional doneCallback: anyCalled when the operation succeed.
Optional failCallback: anyCalled when the operation failed.
Creates a new partial update for this class
A partial update builder for the given entity id
The id to partial update
Optional partialUpdate: JsonAn initial partial update to execute
Static createCreates a new ManagedFactory for the given type
The metadata of type T
The entity manager instance
Static Protected createCreates a new Factory for the given type
A new object factory to created instances of T
Generated using TypeDoc
The owning EntityManager where this factory belongs to