Collection as Property Issue

F

Fresno Bob

I will be using code generation to generate a data access layer. Each table
will have a class mapping on to the table and a class for generating
collections of the table class. These will then be used in business objects.
I would like to have things like e.g. a property which is a collection of
child objects. The obvious problem is you could potentially have collections
of objects containing collections of objects and so on. Are there any slick
design patterns which allow you to flexibly express how many level of
objects are loaded in? My objects will be served up through a web service
which makes the object calling methods on itself a little trickier (I am new
to web services) when it is on the client.

Regards, Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top