private void InitThisProjectionFlag(EntityInfo entityInfo) { if (projectThis == null) { projectThis = entityInfo.IndexesOfThis != null; if (projectThis == true) { //TODO use QueryLoader when possible objectLoader = new ObjectLoader(); objectLoader.Init(session, searchFactoryImplementor); } } }