Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM.NET Business Layer Generator Suggestions
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
MM.NET Business Layer Generator Suggestions
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01053208
Message ID:
01053208
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform