LINQ in Action roller

One or many datacontext in a large project?

Hello, I'm creating a a project that will have about many different windows forms, all connected to the same database. I have a doubt tho, for now I have created a single datacontext, that is the exact copy of the database, with all his tables (they are about 50) so everytime that I create a new form I simply declare Private db as new datacontext would it be better to create several smaller datacontext files (with only the tables that I need to use in every specific form) and declare the right datacontext Read More...
Published Monday, July 07, 2008 12:55 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication