Class ParameterNameGenerator
- Namespace
- Microsoft.EntityFrameworkCore.Storage
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Generates unique names for parameters.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class ParameterNameGenerator
- Inheritance
-
ParameterNameGenerator
- Inherited Members
Constructors
ParameterNameGenerator()
public ParameterNameGenerator()
Methods
GenerateNext()
Generates the next unique parameter name.
public virtual string GenerateNext()
Returns
- string
The generated name.
Reset()
Resets the generator, meaning it can reuse previously generated names.
public virtual void Reset()