IRelationalParameter 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
Public Interface IRelationalParameter

Properties

InvariantName InvariantName

The name of the parameter.

string InvariantName { get; }
ReadOnly Property InvariantName As String
Value
System.String System.String

Methods

AddDbParameter(DbCommand, Object) AddDbParameter(DbCommand, Object)

Adds the parameter as a System.Data.Common.DbParameter to a System.Data.Common.DbCommand.

void AddDbParameter(DbCommand command, object value)
Sub AddDbParameter(command As DbCommand, value As Object)
Parameters
command
System.Data.Common.DbCommand System.Data.Common.DbCommand

The command to add the parameter to.

value
System.Object System.Object

The value to be assigned to the parameter.