StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



NullreferenceException adding a new BOExpand / Collapse
Author
Message
Posted 10/04/2006 3:13:02 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 10/04/2006 3:53:30 PM
Posts: 2, Visits: 3
I get NullreferenceException , Object not set when I right click on the white area in the BOM

I want to add a new BO to the project how can I do this?

Post #3306
Posted 10/04/2006 3:38:31 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 2:01:30 PM
Posts: 372, Visits: 2,492
jon

 You need to add a a new business object from within the VS solution. right click on the project\add new item. Select a stratframe business object. Name it. Now go to the BOM and the bus obj should be there with a red x indicating that it has not been mapped. click configure and select the table. then build partial or build all. Once this is done rebuild the solution in VS if you are using a separate Bo project so the other projects will be able to "see" it.

Post #3307
Posted 10/04/2006 3:46:04 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
Jon,

Paul is exactly right.  Business objects are not created through the BO Mapper, just mapped to the schema and build the partial classes.  If you need some more explanation as to how to add a business object to a project you are welcome to post here again...but I recommend looking at the tutorial in the documentation.  It takes you step by step in creating a BO and binding it to controls.

Post #3311
Posted 10/04/2006 3:53:46 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 10/04/2006 3:53:30 PM
Posts: 2, Visits: 3
Thanks, that worked
Post #3312
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:32pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.