Table of Contents

Interface IQuerySqlGeneratorFactory

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

A factory for creating QuerySqlGenerator instances.

The service lifetime is Singleton. This means a single instance is used by many Microsoft.EntityFrameworkCore.DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

public interface IQuerySqlGeneratorFactory

Methods

Create()

Creates a new QuerySqlGenerator.

QuerySqlGenerator Create()

Returns

QuerySqlGenerator

A SQL generator.