description | title | ms.date | ms.assetid |
---|---|---|---|
Learn more about: Communicating with the Database |
Communicating with the Database |
03/30/2017 |
659d9817-bcaa-457f-9639-169394177274 |
The topics in this section describe some basic aspects of how you establish and maintain communication with the database.
How to: Connect to a Database
Describes how to use the xref:System.Data.Linq.DataContext class to connect to a database.
How to: Directly Execute SQL Commands
Describes how you can use xref:System.Data.Linq.DataContext.ExecuteCommand%2A to send SQL-language commands.
How to: Reuse a Connection Between an ADO.NET Command and a DataContext
Provides examples of how to use an existing ADO.NET connection in a [!INCLUDEvbtecdlinq] application.