Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use BO generator with console app
Message
From
26/09/2008 17:41:38
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
26/09/2008 17:01:57
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01351138
Message ID:
01351160
Views:
17
Hi Bill,

>Is there a way to use the business object generator with a standard console application or a web application project without using any MM.Net templates? I created a 3.5 console app and generated a MM business object library but, when I launched the app, I get a null reference exception when calling one of the methods.

The business Object Generator is a design time tool for creating your business objects. It is never instantiated at runtime. If you have a business object project, you can launch the BO Generator to create your business object classes. Then from your console application you could instantiate a business object and call a method on it. Have you worked through the Jump Starts in the Developers guide yet? Would be a great place to get your feet wet.
cheers;
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform