RawSqlCommand RawSqlCommand Class

Definition

Represents a raw SQL command to be executed against a relational database.

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

public class RawSqlCommand
Public Class RawSqlCommand
Inheritance
System.ObjectSystem.Object
RawSqlCommandRawSqlCommand

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

RawSqlCommand(IRelationalCommand, IReadOnlyDictionary) RawSqlCommand(IRelationalCommand, IReadOnlyDictionary(Of String, Object))

Initializes a new instance of the RawSqlCommand class.

public RawSqlCommand(IRelationalCommand relationalCommand, IReadOnlyDictionary<string, object> parameterValues)
Public Sub New(relationalCommand As IRelationalCommand, parameterValues As IReadOnlyDictionary(Of String, Object))
Parameters
relationalCommand
IRelationalCommand IRelationalCommand

The command to be executed.

parameterValues
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> System.Collections.Generic.IReadOnlyDictionary(Of System.String, System.Object)

The values to be assigned to parameters.

Properties

ParameterValues ParameterValues

Gets the values to be assigned to parameters.

public virtual IReadOnlyDictionary<string, object> ParameterValues { get; }
Public Overridable ReadOnly Property ParameterValues As IReadOnlyDictionary(Of String, Object)
Value
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> System.Collections.Generic.IReadOnlyDictionary(Of System.String, System.Object)

RelationalCommand RelationalCommand

Gets the command to be executed.

public virtual IRelationalCommand RelationalCommand { get; }
Public Overridable ReadOnly Property RelationalCommand As IRelationalCommand