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)

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.

No code example is currently available or this language may not be supported.
Show: