Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use BO generator with console app
Message
De
26/09/2008 17:41:38
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
26/09/2008 17:01:57
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01351138
Message ID:
01351160
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform