Table of Contents

Interface IRelationalQueryStringFactory

Namespace
Microsoft.EntityFrameworkCore.Query
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Implemented by database providers to generate the query string for Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToQueryString(System.Linq.IQueryable).

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

public interface IRelationalQueryStringFactory

Methods

Create(DbCommand)

Returns a formatted query string for the given command.

string Create(DbCommand command)

Parameters

command DbCommand

The command that represents the query.

Returns

string

The formatted string.