RelationalKeyAnnotations RelationalKeyAnnotations Class

Definition

public class RelationalKeyAnnotations : IRelationalKeyAnnotations
Public Class RelationalKeyAnnotations
    Implements IRelationalKeyAnnotations
Inheritance
System.ObjectSystem.Object
RelationalKeyAnnotationsRelationalKeyAnnotations
Implements

Constructors

RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames) RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames)

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

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 ProviderFullAnnotationNames
Protected ReadOnly ProviderFullAnnotationNames As RelationalFullAnnotationNames

Properties

Annotations Annotations

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

Key Key

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

Name Name

public virtual string Name { get; set; }
Public Overridable Property Name As String
Value
System.String System.String

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

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
property
IProperty IProperty
Returns

GetDefaultKeyName(String, Boolean, IEnumerable) 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<System.String> System.Collections.Generic.IEnumerable(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

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

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

ToString() ToString()

Inherited from System.Object