Saves an instance of an entity For relations managed by SDN: saves all the related entities of the entity. For relations managed by GraphGlue: saves only added related entities
Return
the saved instance.
Parameters
instance
the entity to be saved. Must not be null.
Type Parameters
T
the type of the entity.