Merge an entity or array of entities back into the session
Returns
Same entity if one passed, array if an array of entities passed.
Arguments
Examples
// merge a single entity backormService.merge( userEntity );// merge an array of entitiescollection = [entity1,entity2,entity3];ormService.merge( collection );