Share via


ParameterNameGeneratorFactory Class

Definition

Creates instances of the ParameterNameGenerator type.

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

public class ParameterNameGeneratorFactory : Microsoft.EntityFrameworkCore.Storage.IParameterNameGeneratorFactory
type ParameterNameGeneratorFactory = class
    interface IParameterNameGeneratorFactory
Public Class ParameterNameGeneratorFactory
Implements IParameterNameGeneratorFactory
Inheritance
ParameterNameGeneratorFactory
Implements

Remarks

The service lifetime is Singleton. This means a single instance is used by many 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.

Constructors

ParameterNameGeneratorFactory()
ParameterNameGeneratorFactory(ParameterNameGeneratorDependencies)

Initializes a new instance of the ParameterNameGeneratorFactory class.

Properties

Dependencies

Relational provider-specific dependencies for this service.

Methods

Create()

Creates a new ParameterNameGenerator.

Applies to