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

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

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object