| | | StrataFrame Beginner
       
Group: Forum Members Last Login: 01/20/2008 12:00:34 AM Posts: 7, Visits: 28 |
| First off, let me state that other than going thru the tutorials about 4 or 5 months ago, I am brand new to StrataFrame so please excuse my dumb questions.  So I'm building a Business object library and according to the help files you have to add a class to your project and then use the Business Object Mapper (BOM) to configure the class. Is there a way to point the BOM to a database and have it create classes for all tables at once or do I have to do it one-by-one? Thanks! |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 11:34:19 AM Posts: 4,771, Visits: 4,733 |
| Is there a way to point the BOM to a database and have it create classes for all tables at once or do I have to do it one-by-one? At the moment you first have to manually create the BusinessObject class then map it. We have had this request in the past, but the truth is that this generally isn't an issue when you start to work with your application because you are going to work with a limited number of BOs as you build your app...so build them all at once hasn't really hindered anyones development process to my knowledge. Hope that makes sense |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 01/20/2008 12:00:34 AM Posts: 7, Visits: 28 |
| Thanks, but I'm lazy, me thinks its time to write a template in CodeSmith |
| | | | StrataFrame Novice
       
Group: StrataFrame Users Last Login: 10/26/2008 7:09:11 AM Posts: 72, Visits: 234 |
| | When I started , I had the same feeling and wanting all of my DB tables mapped instantially, but as I went along I began to understand that each BO is unique in itself including ENUM mapping, Null handling, relationships, etc. Each class should be looked at as an individual and programmed accordingly. It works well as once you have done this you can almost forget about the class and use accordingly. I especially love the ENUM side allowing for easy programming later. Richard |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 11:34:19 AM Posts: 4,771, Visits: 4,733 |
| Thanks for yoru input, Richard....that is what I was trying to say! |
| |
|
|