ORM Relationship compositions and null support in object populators

Description

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

Activity

Show:
Joel Watson
June 12, 2013, 1:32 AM

That's right. Either an array or list should work.

Luis Majano
June 14, 2013, 6:29 PM

Joel, did you add this to the wiki?

Joel Watson
June 14, 2013, 6:37 PM

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?

Luis Majano
June 14, 2013, 6:46 PM

Sure, I will edit it after. Thanks.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com (http://www.ortussolutions.com/)
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org (http://www.coldbox.org/)
ContentBox Platform: http://www.gocontentbox.org (http://www.gocontentbox.org/)
Linked In: http://www.linkedin.com/pub/3/731/483

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)

Joel Watson
June 15, 2013, 12:04 AM

This should be done. THanks!

Fixed

Assignee

Luis Majano

Reporter

Joel Watson

Labels

None

Components

Fix versions

Priority

Minor
Configure