code: public void store(Object entity, String id) {
          storeInternal(entity, null, id, ConcurrencyCheckMode.AUTO);
      }
docs: Stores the specified entity in the session, explicitly specifying its Id. The entity will be saved when SaveChanges is called.
  
  @param entity Entity to store
  @param id     Entity identifier