Hi Brennan,

 

You only need to implement the methods in your Assembler which are used by clients.  If your client code is not independently calling fill on the employees DataService, you don’t need to implement any fill methods.  Similarly if you are not creating or deleting employees, you don’t need a create or delete method for items of that type.  

 

Jeff

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dreuimar
Sent: Friday, July 28, 2006 7:21 AM
To: [email protected]
Subject: [flexcoders] Question about Data Service Assemblers

 

If I have a one-to-many relationship between a VO like:

public class company
{
public var id : int;
public var name : String;
public var employees : ArrayCollection;
}

<one-to-many property="employees" destination="employee" lazy="true"/>

And the employees are lazy loaded, how should I construct my employee
assembler? I know that with a one-to-one it calls getItem(), but is
this calling a fill()? And if so, what parameters is it sending?

Thanks,
Brennan

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to