Using LINQ To SQL’s DataContext in a Multi-Tier Application

I’m still reading the excellent C# 3.0 in a Nutshell, by Ben and Joseph Albahari. It answers a popular question: how do I use a DataContext object in LINQ within a multi-tier application? According to the authors, you cannot use the DataContext at an application or static level, or use a single instance for all requests, [...]

Lesen Sie den vollständigen Eintrag unter http://richardbushnell.net/index.php/2008/01/03/using-linq-to-sqls-datacontext-in-a-multi-tier-application/

Published Mittwoch, 2. Januar 2008 23:00 von .Net Smoothie