Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter Database Tables
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01164910
Message ID:
01165194
Views:
8
Peter,

>I have another question about how Mere Mortal handle the changes to the database tables. Assume that I have business object created from a set of table SampleTbl. Later I updated the same table with several new columns or delete an existing column, how does Mere Mortal handle such changes.
>
>Would you have to recreate the business object over again and lose all your code that you have implemented or do you manual update your code to reflect what you had updated in your table?

The Business Layer Generator allows you to pick and choose which objects you want to generate. So, for example, you can specify that you only want to generate the Entity object which will not overwrite any business logic or rule logic in existing classes. For details, check out the MM .NET Dev Guide topic "Mere Mortals .NET Business Objects | Using the MM .NET Business Layer Generator | Step 2: Specifying Code Generation Settings | Specifying Which Classes to Generate".

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform