Ok my config file
<reactor>
<config>
<project value="GroundOps" />
<dsn value="Database" />
<type value="mssql" />
<mapping value="/Model/Data" />
<mode value="development" />
</config>
<object name="Users">
<hasOne name="UserType">
<relate from="US_Type" to="UT_ID" />
</hasOne>
</object>
</reactor>
And the code
<cfset UserRecord = Request.Reactor.createRecord("Users").load(US_ID = 13) />
<cfdump var="#UserRecord.getUserType()#" expand="false">
When reading the documentation this is supposed to work, but I am stumped beyond belief as to what I am doing wrong.
Anyone?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
