Move BusinessBase from one BusinessListBase to another

Move BusinessBase from one BusinessListBase to another

Old forum URL: forums.lhotka.net/forums/t/4794.aspx


sidwall posted on Friday, May 02, 2008

Hi,

I'm trying to figure out if it is safe to move one BB object from one BLB to another BLB by simply using the Add method on the second BLB.

The problem I'm trying to solve is this:

I have a BLB of Projects. Each Project (BB) has a child BLB of ProjectUsers. Rather then going to the database server (DataPortal-method) Projects.Count number of times to load their ProjectUsers child BLB I'm going to load all ProjectUsers in a BLB in one database call. Then back on the client I'm going to add the items in the ProjectUsers BLB to the ProjectUsers BLB:es of the Projects.

-Projects (BLB)
  - Project 1 (BB)
    - ProjectUsers 1 (BLB)
  - Project 2 (BB)
    - ProjectUsers 2 (BLB)

 

Copyright (c) Marimer LLC