Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MM.NET Business Layer Generator Suggestions
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MM.NET Business Layer Generator Suggestions
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01053208
Message ID:
01053208
Views:
59
The generator is a great addition to the framework, KUDOS! I'm running version 1.4.1.

Some suggestions:

1. Table Prefix To Ignore.
Where I work, they like to put "tbl" in front of the name of all of their tables: I wind up with "tbl" in the name of the business classes.

2. The generator allows you to override the naming convention on a one-at-time basis. This is a great workaround to issue #1 above, but it doesnt seem to work:

I set the prefix for business objects to "bo." Let's say I have a table called tblPackets. In the generator, it defaults the name of the class for the table "botblPackets." Then generator wisely allows manual overriding of the class name to be "boPackets". But when the .cs file is generated, it has the name "botblPackets.cs" rather than "boPackets.cs". And the class within the file is not named correctly either.

Rick
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Next
Reply
Map
View

Click here to load this message in the networking platform