DataService.NewCommandObject

Returns an instance of an object that implements IDbCommand.
For instance, in an SQL Server service, this would be SqlCommand,
in an OleDb service, this would be OleDbCommand, and so forth.

public abstract IDbCommand NewCommandObject();

Return Value

IDbCommand object instance


See also:

Class DataService


  Last Updated: 5/23/2007 | © , 2007