smuskopf Posts 3
|
I use the DBML EDMX tool to generate my DBML (.cs, .designer.cs, etc.) which includes the constructor for my DataContext. I now want to add the Linq-to-SQL profiler. So, I another constructor method in the .designer.cs to pass the enableProfiler flag. I then have to add to my DataContextProxy (.proxy.cs) constructor a call to this new method. Unfortunately, the proxy.cs gets regenerated and loses my changes.
How should I be implementing Profiler along with the DBML tool?
|