Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code architecture and MM.NET Business Layer Generator
Message
From
26/08/2007 21:29:43
Walter Nicholls
Cornerstone Software Ltd
Auckland, New Zealand
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01250320
Message ID:
01250555
Views:
12
> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform