Hi Dave, I understand your objection. But in this case, the id's are needed in a dataProvider for a TextInput with an auto-completion feature. And since the entities are many and large, I wanted to load just the information needed. Just a small follow up question. Is the $this->em EntityManager exactly the same as one created like $entityManager = \Doctrine\ORM\EntityManager::create($conn, $config, $evm); From the code - and my understanding - it should be the same. I just wanted to make sure before I'm trying to implement such a remote method. Thank you again - rico On 21.02.2011, at 15:03, ccapndave wrote:
No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.872 / Virus Database: 271.1.1/3456 - Release Date: 02/20/11 20:34:00
I understand your objection. But in this case, the id's are needed in a dataProvider for a TextInput with an auto-completion feature. And since the entities are many and large, I wanted to load just the information needed.
Just a small follow up question. Is the $this->em EntityManager exactly the same as one created like $entityManager = \Doctrine\ORM\EntityManager::create($conn, $config, $evm);
From the code - and my understanding - it should be the same. I just wanted to make sure before I'm trying to implement such a remote method.
Thank you again
- rico
On 21.02.2011, at 15:03, ccapndave wrote:
Thank you for the implementation and information.
- rico