I\'m having a performance issue with a LINQ to SQL model that has a lot of inherited classes.
I isolated the issue and it seems to be some sort of issue with LINQ to SQL
I can see from your code that you indent to add a new subclass per Customer. This unfortunately will not work because of an internal L2S perf problem. Sooner or later you have to give up this approach. You can also easily find out what function is causing the problem by running you app under load (hold F5) and stop the debugger a few times. Look where it stops most often.