is there a shortcut to creating all business objects at once


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Thanks for yoru input, Richard....that is what I was trying to say! BigGrin
Richard Keller
Richard Keller
StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)StrataFrame User (174 reputation)
Group: Forum Members
Posts: 84, Visits: 324
 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

Bo
Bo
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
Posts: 7, Visits: 28
Thanks, but I'm lazy, me thinks its time to write a template in CodeSmith Smile
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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 Smile

Bo
Bo
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
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.  BigGrin

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!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search