IRawSqlCommandBuilder IRawSqlCommandBuilder Interface

Definition

Creates commands based on raw SQL command text.

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

public interface IRawSqlCommandBuilder
Public Interface IRawSqlCommandBuilder

Methods

Build(String) Build(String)

Creates a new command based on SQL command text.

IRelationalCommand Build(string sql)
Function Build(sql As String) As IRelationalCommand
Parameters
sql
System.String System.String

The command text.

Returns

The newly created command.

Build(String, IReadOnlyList) Build(String, IReadOnlyList(Of Object))

Creates a new command based on SQL command text.

RawSqlCommand Build(string sql, IReadOnlyList<object> parameters)
Function Build(sql As String, parameters As IReadOnlyList(Of Object)) As RawSqlCommand
Parameters
sql
System.String System.String

The command text.

parameters
System.Collections.Generic.IReadOnlyList<System.Object> System.Collections.Generic.IReadOnlyList(Of System.Object)

Parameters for the command.

Returns

The newly created command.