IQuerySqlGenerator IQuerySqlGenerator Interface

A relational SQL generator.

Syntax

Declaration

public interface IQuerySqlGeneratorPublic Interface IQuerySqlGenerator

Properties summary

Gets a value indicating whether the generated SQL is cacheable.

Methods summary

Creates value buffer factory corresponding to the generated query.

Generates SQL for the given parameter values.

Properties

  • IsCacheable
    IsCacheable

    Gets a value indicating whether the generated SQL is cacheable.

    bool IsCacheable { get; }ReadOnly Property IsCacheable As Boolean

    Property Value

    • System.Boolean
      System.Boolean

      true if the generated SQL is cacheable, false if not.

Methods

  • CreateValueBufferFactory(IRelationalValueBufferFactoryFactory, DbDataReader)
    CreateValueBufferFactory(IRelationalValueBufferFactoryFactory, DbDataReader)

    Creates value buffer factory corresponding to the generated query.

    IRelationalValueBufferFactory CreateValueBufferFactory(IRelationalValueBufferFactoryFactory relationalValueBufferFactoryFactory, DbDataReader dataReader)Function CreateValueBufferFactory(relationalValueBufferFactoryFactory As IRelationalValueBufferFactoryFactory, dataReader As DbDataReader) As IRelationalValueBufferFactory

    Parameters

    Returns

  • GenerateSql(IReadOnlyDictionary<String, Object>)
    GenerateSql(IReadOnlyDictionary(Of String, Object))

    Generates SQL for the given parameter values.

    IRelationalCommand GenerateSql(IReadOnlyDictionary<string, object> parameterValues)Function GenerateSql(parameterValues As IReadOnlyDictionary(Of String, Object)) As IRelationalCommand

    Parameters

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

      The parameter values.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll