Possible Duplicate:
How to set the DataContext class name with DbMetal?

I personally use DbMetal during my pre-build event to create the preferred code file. DbMetal creates a category known as Main. In the wiki I can'f look for a parameter to alter that default value.

Within the pre-build event (after producing that code file above) I must instantly refactor and alter the course title.

Can there be any native method of doing so inside the pre-build occasions?

Otherwise I'd have to write my very own little parser that does the task and refer to it as there.

(I really have no idea wheter pre-/publish-build occasions are supported in VS2005/2008. You can add the tags of the question.)