StrataFrame Forum

Create multiple BO's quickly

http://forum.strataframe.net/Topic9839.aspx

By Sarosh - 6/29/2007

Hi!

Is there a way to create multiple BO's quickly rather than one at a time?

Right now I have to first create a BO in my project then go to the BOM and configure it and then repeat this whole process all over again for each BO.

Is it possible to to pick the tables in the BOM and the BOM then creates and adds those BO's in the project?

Thanks

Sarosh

By Greg McGuffey - 6/29/2007

I don't know about your suggestion of picking tables and having the BOM make the BOs for you. However, you might find a productivity increase if you first create all the BOs in the project. Then go configure them all and build them all. At least that way you won't have as much time spent going back and forth between VS and the BOM.
By Trent L. Taylor - 6/29/2007

Greg is correct.  There is not an automated solution that creates all of the BOs at once for you....and really there is not much of a need in most cases.  When developing an application, you generally do not need access to every BO all at once.  When we develop applications, we create the BOs that we need at that particular moment versus trying to create every BO that will be used in the entire application at once. 
By Sarosh - 6/29/2007

Hi!

Yes your suggestion will help in terms of going back and forth between VS and BOM but my point is why do you have to create the BO's manually in first place when the BOM can update the BO's anyway.

e.g. I have a DB with lets say 20 lookup tables and I want to create BO's for all of them, right now I have to manually create 20 BO's first in my project and then go to the BOM and configure them and then the BOM updates those BO's. Won't it be easier/quicker to go straight in the BOM have a UI in it (like an add in) which will let me view tables/views etc. in a DB and let me multi select them so that the BOM can then creates those BO's in my project?

I think overall this will be cleaner/quicker as it will eliminate the step of manually creating the BO's first.

Sarosh

By Andria Jensen - 7/23/2007

I agree with this, but I'm not sure how feasible it is to add into the framework.  It would be nice to just have something like a 'New BO' button in the mapper which you could give a name, and a project to put the BO in.  Then just map that BO to a table (configure it) and it would generate the BO for you.  This would make things faster.  I'd like to add my vote for this to be considered as an enhancement request.