ParameterNameGenerator ParameterNameGenerator Class

Generates unique names for parameters.

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

Syntax

Declaration

public class ParameterNameGeneratorPublic Class ParameterNameGenerator

Inheritance Hierarchy

  • System.Object
    System.Object
  • ParameterNameGenerator
    ParameterNameGenerator

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Generates the next unique parameter name.

Resets the generator, meaning it can reuse previously generated names.

Methods

  • GenerateNext()
    GenerateNext()

    Generates the next unique parameter name.

    public virtual string GenerateNext()Public Overridable Function GenerateNext As String

    Returns

    • System.String
      System.String

      The generated name.

  • Reset()
    Reset()

    Resets the generator, meaning it can reuse previously generated names.

    public virtual void Reset()Public Overridable Sub Reset

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll