IQuerySqlGeneratorFactory IQuerySqlGeneratorFactory Interface

A factory for instances of IQuerySqlGenerator.

Syntax

Declaration

public interface IQuerySqlGeneratorFactoryPublic Interface IQuerySqlGeneratorFactory

Methods summary

Creates the default SQL generator.

Creates a FromSql SQL generator.

Methods

  • CreateDefault(SelectExpression)
    CreateDefault(SelectExpression)

    Creates the default SQL generator.

    IQuerySqlGenerator CreateDefault(SelectExpression selectExpression)Function CreateDefault(selectExpression As SelectExpression) As IQuerySqlGenerator

    Parameters

    Returns

  • CreateFromSql(SelectExpression, String, Expression)
    CreateFromSql(SelectExpression, String, Expression)

    Creates a FromSql SQL generator.

    IQuerySqlGenerator CreateFromSql(SelectExpression selectExpression, string sql, Expression arguments)Function CreateFromSql(selectExpression As SelectExpression, sql As String, arguments As Expression) As IQuerySqlGenerator

    Parameters

    • selectExpression

      The select expression.

    • sql
      System.String
      System.String

      The SQL.

    • arguments
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The arguments.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll