CreateDbCommand() method

Creates and returns a System.Data.Common.DbCommand object associated with the current connection.

Returns

A System.Data.Common.DbCommand object.