다음을 통해 공유


ICommand

ICommand contains methods to execute commands. A command can be executed many times, and the parameter values can vary. This interface is mandatory on commands.

A command object contains a single text command, which is specified through ICommandText

Method

Description

Cancel

Cancels the current command execution.

Execute

Executes the command.

GetDBSession

Returns an interface pointer to the session that created the command.

This topic is a part of: