Using partial classes for autogenous code, setting files, etc.?
I have a datalayer.cs file that was generated with a code generation tool.
I mark the class as a partial class, so I can create another file with my own written datalayer code.
How do I name my files?
Should I do it like this:
/data/partial/datalayer.cs /data/datalayer.cs
So when I run my replacement code again, I just dump the file into the / partial / folder in my source tree.
offers?
0
source to share