Table of Contents

Interface IParameterNameGeneratorFactory

Namespace
Microsoft.EntityFrameworkCore.Storage
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Creates instances of ParameterNameGenerator.

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

public interface IParameterNameGeneratorFactory

Remarks

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.

See Implementation of database providers and extensions for more information and examples.

Methods

Create()

ParameterNameGenerator Create()

Returns

ParameterNameGenerator

The newly created ParameterNameGenerator.