This documentation is archived and is not being maintained.
How to: Reuse a Connection Between an ADO.NET Command and a DataContext (LINQ to SQL)
.NET Framework 3.5
Because LINQ to SQL is a part of the ADO.NET family of technologies and is based on services provided by ADO.NET, you can reuse a connection between an ADO.NET command and a DataContext.
The following example shows how to reuse the same connection between an ADO.NET command and the DataContext.
Show: