MigrationsIdGenerator MigrationsIdGenerator Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class MigrationsIdGenerator : IMigrationsIdGeneratorPublic Class MigrationsIdGenerator
    Implements IMigrationsIdGenerator

Inheritance Hierarchy

  • System.Object
    System.Object
  • MigrationsIdGenerator
    MigrationsIdGenerator

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

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods

  • GenerateId(String)
    GenerateId(String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual string GenerateId(string name)Public Overridable Function GenerateId(name As String) As String

    Parameters

    • name
      System.String
      System.String

    Returns

    • System.String
      System.String
  • GetName(String)
    GetName(String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual string GetName(string id)Public Overridable Function GetName(id As String) As String

    Parameters

    • id
      System.String
      System.String

    Returns

    • System.String
      System.String
  • IsValidId(String)
    IsValidId(String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual bool IsValidId(string value)Public Overridable Function IsValidId(value As String) As Boolean

    Parameters

    • value
      System.String
      System.String

    Returns

    • System.Boolean
      System.Boolean

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll