Just create setter methods for whatever fields you want to update.

-Phil


On Thu, 6 Jan 2005 09:41:32 -0800, Ali Awan <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Hi all, 
> 
>   
> 
> I'm new to this list and I'm building my first app with CFC's. 
> 
> Basically I'm trying to have all my business logic and the data access layer
> in CFC's. 
> 
>   
> 
> Anyway, my question refers to Transfer Objects. 
> 
>   
> 
> I have a DAO cfc, which does the reads/inserts/updates to the database.  I
> also have a Transfer Object CFC to which my application submits all data to
> be updated and then passes this on to the DAO.  However my Transfer Object
> only has an init function which initializes the TO with whatever data is
> passed in. 
> 
>   
> 
> My question is, is it possible to have an update function in the TO?  If so,
> how would that be coded? 
> 
> I just want to be able to update a single key in the TO, without sending all
> of the data everytime and re-initializing it. 
> 
>   
> 
> Thanks, 
> 
> Ali
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to