There are a number of times when I am populating an ORM entity that I need to populate relationships of that entity as well. Many times, the PKs of the relationships are in the RC, either as single values (one-to-one, many-to-one) or arrays/lists (one-to-many, many-to-many).
Additions to wiki docs for http://wiki.coldbox.org/wiki/ORM:BaseORMService.cfm#populate.
This will allow for an ORM entity to be build up using all RC values for relationships
That's right. Either an array or list should work.
Joel, did you add this to the wiki?
I haven't yet. The text for the wiki is all done, but wasn't sure if you wanted it added yet. Want me to go ahead and post it?
Sure, I will edit it after. Thanks.
Ortus Solutions, Corp
Direct: (909) 248-3408
Social: twitter.com/ortussolutions (http://twitter.com/ortussolutions) | twitter.com/coldbox (http://twitter.com/coldbox) | twitter.com/lmajano (http://twitter.com/lmajano) | twitter.com/gocontentbox (http://twitter.com/gocontentbox)
This should be done. THanks!