Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump Start - Create Biz Obj VB .NET. Steps 6,7
Message
From
05/05/2006 18:42:40
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01118809
Message ID:
01119805
Views:
17
Right you are, sir. My mistake. I think it didn't "work" because I cleared the business object entry on the penultimate page of the wizard.

So not only is this working as advertised, I got to use "penultimate" in a sentence. Many thanks on both counts.

---J

>Jim,
>
>>Are you saying I can add entity objects to existing business objects using the generator?
>
>Actually you can! (I spent LOTS of time making sure you could). Check out the MM .NET Dev Guide topic "Using the MM .NET Business Layer Generator | Step 2: Specifying the Code Generation Settings". There is a section "Generating Auxiliary Objects for Existing Business Objects" which says:
>
>"If you have an existing business object for which you want to generate an entity, rule, or default value object, uncheck the Business Object check box, and select the auxiliary objects you want to generate. For exampel, if you want to generate an entity object for an existing business object, uncheck the Business Object check box, make sure the Entity Object check box is selected, and unselect the Business Rules Object and Default Values Object check boxes.
>
>When generating auxiliary objects (entity, rules, defaults), if a reference property already exists on the business object, it is not recreated. When generating a rules object, if the CreateBusinessRuleObject() method already exists on the main business object, it is not recreated. When generating a default values object, if a HookSetDefaultValues() method already exists on the main business object, it is not recreated. If you comment out these existing properties or methods, they will be recreated."
>
>Best Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform