MigrationsIdGenerator MigrationsIdGenerator Class

Definition

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 class MigrationsIdGenerator : IMigrationsIdGenerator
Public Class MigrationsIdGenerator
    Implements IMigrationsIdGenerator
Inheritance
System.ObjectSystem.Object
MigrationsIdGeneratorMigrationsIdGenerator
Implements

Inherited Members

System.Object

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

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