Hi,
I have started using csla framework recently. I have a table that is having one to many relationship with several tables. When i create an object of the master table i dont want to fill all my child objects collection except one. So I am using lazy loading for this purpose. My doubt is "the one child object collection which i need to fill, all the time i retrieve the parent object, should i do that
If i do it the first way is there anything wrong? I was thinking i could save one trip to the database by implementing it the first way
I would like to know the best way to do it using CSLA framework.
Thanks
Simi Sreedharan
I would implement this within the scope of DataPortal_Fetch.
Whether you use a SP that returns multiple recordsets/cursors or separate SQL queries is just a matter of code preferences.
Thanks Jonny
Copyright (c) Marimer LLC