IDbConnection.CreateCommand Method

DbConnection.IDbConnection.CreateCommand Method ()

 

Creates and returns a DbCommand object that is associated with the current connection.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

IDbCommand IDbConnection.CreateCommand()

Return Value

Type: System.Data.IDbCommand

A DbCommand object that is associated with the connection.

For more information, see Commands and Parameters and CreateCommand.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft