adding row object to entity.