Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code architecture and MM.NET Business Layer Generator
Message
De
26/08/2007 21:29:43
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01250320
Message ID:
01250555
Vues:
10
> Employee.Partial.cs source code file ... I recommend using the naming convention I show above since that's what the BLG will do by default.

I used (BizObjName)Extra.cs for mine. Easy enough to rename if it turns out to matter.

Kevin, I think I suggested this before, could the BLG read the existing source files and perhaps warn if there are changes made by the user?

One way to do this would be with a custom comment, sort of like this:
/* BLG Please leave this file alone */
(although something more structured would be appropriate I guess.) The BLG would never write this comment, but a developer could as a reminder that they've changed code.

Even better would be a way to mark sections of code as "BLG please keep" but I'm not sure how to do this without a fairly large rewrite.

By the way, the BLG only generates code in the root directory of the project. You can move the code files into folders, but the BLG runs roughshod over this if the files are regenned and the project ends up in quite a mess
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform