IRawSqlCommandBuilder IRawSqlCommandBuilder Interface

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.

Syntax

Declaration

public interface IRawSqlCommandBuilderPublic Interface IRawSqlCommandBuilder

Methods summary

Creates a new command based on SQL command text.

Creates a new command based on SQL command text.

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

  • Build(String, IReadOnlyList<Object>)
    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<T><System.Object>
      System.Collections.Generic.IReadOnlyList<T>(Of System.Object)

      Parameters for the command.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll