Share via


IRelationalQueryStringFactory Interface

Definition

Implemented by database providers to generate the query string for ToQueryString(IQueryable).

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

public interface IRelationalQueryStringFactory
type IRelationalQueryStringFactory = interface
Public Interface IRelationalQueryStringFactory

Remarks

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

Methods

Create(DbCommand)

Returns a formatted query string for the given command.

Applies to