Share via


IRelationalParameter Interface

Definition

A parameter in an IRelationalCommand. Note that this interface just represents a placeholder for a parameter and not the actual value. This is because the same command can be reused multiple times with different parameter values.

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

public interface IRelationalParameter
type IRelationalParameter = interface
Public Interface IRelationalParameter

Remarks

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

Properties

InvariantName

The name of the parameter.

Methods

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

Adds the parameter as a DbParameter to a DbCommand.

AddDbParameter(DbCommand, Object)

Adds the parameter as a DbParameter to a DbCommand.

Applies to