Re: n00b Q:Getting a database entity count

2008-06-16 Thread Johann Werner
Am 15.06.2008 um 23:18 schrieb Rams: On Jun 15, 2008, at 4:17 PM, Johann Werner wrote: Hi Rams, calling entity.relationship.count would fault all objects. I was afraid of that... Look at http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading where you g

Re: n00b Q:Getting a database entity count

2008-06-15 Thread Rams
On Jun 15, 2008, at 4:17 PM, Johann Werner wrote: Hi Rams, calling entity.relationship.count would fault all objects. I was afraid of that... Look at http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading where you get a more recent code snippet for solvin

Re: n00b Q:Getting a database entity count

2008-06-15 Thread Johann Werner
Hi Rams, calling entity.relationship.count would fault all objects. Look at http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading where you get a more recent code snippet for solving your problem. jw Am 15.06.2008 um 20:53 schrieb Rams: Hi everybody, I w

n00b Q:Getting a database entity count

2008-06-15 Thread Rams
Hi everybody, I was wondering if anyone had some "best practices" advice on fetching a count on a to-many relationship. I'm concerned that if I do a simple entity.relationship.count that I'm going to be faulting every EO in the relationship... is that the case? In searching for an answe