RelationalKeyAnnotations RelationalKeyAnnotations Class

Syntax

Declaration

public class RelationalKeyAnnotations : IRelationalKeyAnnotationsPublic Class RelationalKeyAnnotations
    Implements IRelationalKeyAnnotations

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalKeyAnnotations
    RelationalKeyAnnotations

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()

Constructors summary

Fields summary

Properties summary

Methods summary

Constructors

  • RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames)
    RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames)
    public RelationalKeyAnnotations(IKey key, RelationalFullAnnotationNames providerFullAnnotationNames)Public Sub New(key As IKey, providerFullAnnotationNames As RelationalFullAnnotationNames)

    Parameters

  • RelationalKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)
    RelationalKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)
    protected RelationalKeyAnnotations(RelationalAnnotations annotations, RelationalFullAnnotationNames providerFullAnnotationNames)Protected Sub New(annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)

    Parameters

Fields

  • DefaultAlternateKeyNamePrefix
    DefaultAlternateKeyNamePrefix
    protected const string DefaultAlternateKeyNamePrefix = "AK"Protected Const DefaultAlternateKeyNamePrefix As String = "AK"
  • DefaultPrimaryKeyNamePrefix
    DefaultPrimaryKeyNamePrefix
    protected const string DefaultPrimaryKeyNamePrefix = "PK"Protected Const DefaultPrimaryKeyNamePrefix As String = "PK"
  • ProviderFullAnnotationNames
    ProviderFullAnnotationNames
    protected readonly RelationalFullAnnotationNames ProviderFullAnnotationNamesProtected ReadOnly ProviderFullAnnotationNames As RelationalFullAnnotationNames

Properties

  • Annotations
    Annotations
    protected virtual RelationalAnnotations Annotations { get; }Protected Overridable ReadOnly Property Annotations As RelationalAnnotations

    Property Value

  • Key
    Key
    protected virtual IKey Key { get; }Protected Overridable ReadOnly Property Key As IKey

    Property Value

  • Name
    Name
    public virtual string Name { get; set; }Public Overridable Property Name As String

    Property Value

    • System.String
      System.String

Methods

  • GetAnnotations(IEntityType)
    GetAnnotations(IEntityType)
    protected virtual IRelationalEntityTypeAnnotations GetAnnotations(IEntityType entityType)Protected Overridable Function GetAnnotations(entityType As IEntityType) As IRelationalEntityTypeAnnotations

    Parameters

    Returns

  • GetAnnotations(IProperty)
    GetAnnotations(IProperty)
    protected virtual IRelationalPropertyAnnotations GetAnnotations(IProperty property)Protected Overridable Function GetAnnotations(property As IProperty) As IRelationalPropertyAnnotations

    Parameters

    Returns

  • GetDefaultKeyName(String, Boolean, IEnumerable<String>)
    GetDefaultKeyName(String, Boolean, IEnumerable(Of String))
    public static string GetDefaultKeyName(string tableName, bool primaryKey, IEnumerable<string> propertyNames)Public Shared Function GetDefaultKeyName(tableName As String, primaryKey As Boolean, propertyNames As IEnumerable(Of String)) As String

    Parameters

    • tableName
      System.String
      System.String
    • primaryKey
      System.Boolean
      System.Boolean
    • propertyNames
      System.Collections.Generic.IEnumerable<T><System.String>
      System.Collections.Generic.IEnumerable<T>(Of System.String)

    Returns

    • System.String
      System.String
  • GetDefaultName()
    GetDefaultName()
    protected virtual string GetDefaultName()Protected Overridable Function GetDefaultName As String

    Returns

    • System.String
      System.String
  • SetName(String)
    SetName(String)
    protected virtual bool SetName(string value)Protected Overridable Function SetName(value As String) As Boolean

    Parameters

    • value
      System.String
      System.String

    Returns

    • System.Boolean
      System.Boolean

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll