Share via


IRelationalCommandTemplate Interface

Definition

A command template to populate an IRelationalCommand or create a DbCommand

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public interface IRelationalCommandTemplate
type IRelationalCommandTemplate = interface
Public Interface IRelationalCommandTemplate
Derived

Remarks

See Implementation of database providers and extensions for more information and examples.

Properties

CommandText

Gets the command text to be copied to the destination command.

Parameters

Gets the parameters to be copied to the destination command.

Methods

CreateDbCommand(RelationalCommandParameterObject, Guid, DbCommandMethod)

Called by the execute methods to create a DbCommand for the given DbConnection and configure timeouts and transactions.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to