Possible Duplicate:
How to set the DataContext class name with DbMetal?
I use DbMetal in my pre-build event to generate the desired code file. DbMetal generates a class called Main
. In its wiki I can'f find a parameter to change that default value.
In the pre-build event (after generating that code file above) I would like to automatically refactor and change the class name.
Is there any native way to do so within the pre-build events?
If not I would be forced to write my own little parser that does the job and call it there.
(I actually don't know wheter pre-/post-build events are supported in VS2005/2008. Feel free to add the tags of this question.)