I am trying out Linq to SQL in an ASP.NET application that uses a large database with lots of foreign keys (100+ tables). I am impressed with how Linq permits you to create
I did a test on our database which has about 600 tables. First, I broke them up into 9 discrete data contexts which were each pretty manageable. Then I wrote a script which selected, updated, and deleted a few hundred times on one of them (disposing of the datacontext after each one, so that LINQ was forced to recreate it for each access).
Then I made another datacontext that had all 600 tables right on it - and ran the same test.
The results were virtually identical. My conclusion was there was no performance gain to be had from the smaller datacontexts. And it is certainly much easier to work with entities that came from a single datacontext (not in the designer view though -- phew!).