CSharpUniqueNamer<T> CSharpUniqueNamer(Of T) 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 CSharpUniqueNamer<T> : CSharpNamer<T>Public Class CSharpUniqueNamer(Of T)
    Inherits CSharpNamer(Of T)

Type Parameters

T

Inheritance Hierarchy

Inherited Members

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

Constructors 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.

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.

Constructors

  • CSharpUniqueNamer(Func<T, String>)
    CSharpUniqueNamer(Func(Of T, 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 CSharpUniqueNamer(Func<T, string> nameGetter)Public Sub New(nameGetter As Func(Of T, String))

    Parameters

    • nameGetter
      System.Func<T, TResult><T, System.String>
      System.Func<T, TResult>(Of T, System.String)
  • CSharpUniqueNamer(Func<T, String>, IEnumerable<String>)
    CSharpUniqueNamer(Func(Of T, String), IEnumerable(Of 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 CSharpUniqueNamer(Func<T, string> nameGetter, IEnumerable<string> usedNames)Public Sub New(nameGetter As Func(Of T, String), usedNames As IEnumerable(Of String))

    Parameters

    • nameGetter
      System.Func<T, TResult><T, System.String>
      System.Func<T, TResult>(Of T, System.String)
    • usedNames
      System.Collections.Generic.IEnumerable<T><System.String>
      System.Collections.Generic.IEnumerable<T>(Of System.String)

Methods

  • GetName(T)
    GetName(T)

    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 override string GetName(T item)Public Overrides Function GetName(item As T) As String

    Parameters

    • item
      T
      T

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Design.dll