Key Key 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 Key : ConventionalAnnotatable, IMutableKey, IMutableAnnotatable, IKey, IAnnotatablePublic Class Key
    Inherits ConventionalAnnotatable
    Implements IMutableKey, IMutableAnnotatable, IKey, IAnnotatable

Inheritance Hierarchy

Inherited Members

GetAnnotations(),
GetAnnotations(),
AddAnnotation(String, Object, ConfigurationSource),
AddAnnotation(String, Object, ConfigurationSource),
AddAnnotation(String, Object),
AddAnnotation(String, Object),
SetAnnotation(String, Object, ConfigurationSource),
SetAnnotation(String, Object, ConfigurationSource),
GetOrAddAnnotation(String, Object),
GetOrAddAnnotation(String, Object),
FindAnnotation(String),
FindAnnotation(String),
RemoveAnnotation(String),
RemoveAnnotation(String),
CreateAnnotation(String, Object),
CreateAnnotation(String, Object),
AddAnnotation(String, Annotation),
AddAnnotation(String, Annotation),
SetAnnotation(String, Annotation),
SetAnnotation(String, Annotation),
OnAnnotationSet(String, Annotation, Annotation),
OnAnnotationSet(String, Annotation, Annotation),
Item[String],
Item(String),
IAnnotatable.GetAnnotations(),
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations(),
IAnnotatable.FindAnnotation(String),
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String),
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.

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

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.

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.

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.

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.

Explicit Interface Implementations summary

Constructors

  • Key(IReadOnlyList<Property>, ConfigurationSource)
    Key(IReadOnlyList(Of Property), ConfigurationSource)

    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 Key(IReadOnlyList<Property> properties, ConfigurationSource configurationSource)Public Sub New(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource)

    Parameters

Properties

  • Builder
    Builder

    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 InternalKeyBuilder Builder { get; set; }Public Overridable Property Builder As InternalKeyBuilder

    Property Value

  • DebugView
    DebugView

    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 DebugView<Key> DebugView { get; }Public Overridable ReadOnly Property DebugView As DebugView(Of Key)

    Property Value

  • DeclaringEntityType
    DeclaringEntityType

    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 EntityType DeclaringEntityType { get; }Public Overridable ReadOnly Property DeclaringEntityType As EntityType

    Property Value

  • IdentityMapFactory
    IdentityMapFactory

    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 Func<IIdentityMap> IdentityMapFactory { get; }Public Overridable ReadOnly Property IdentityMapFactory As Func(Of IIdentityMap)

    Property Value

  • Properties
    Properties

    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 IReadOnlyList<Property> Properties { get; }Public Overridable ReadOnly Property Properties As IReadOnlyList(Of  Property)

    Property Value

    • System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
  • ReferencingForeignKeys
    ReferencingForeignKeys

    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 ISet<ForeignKey> ReferencingForeignKeys { get; set; }Public Overridable Property ReferencingForeignKeys As ISet(Of ForeignKey)

    Property Value

  • WeakReferenceIdentityMapFactory
    WeakReferenceIdentityMapFactory

    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 Func<IWeakReferenceIdentityMap> WeakReferenceIdentityMapFactory { get; }Public Overridable ReadOnly Property WeakReferenceIdentityMapFactory As Func(Of IWeakReferenceIdentityMap)

    Property Value

Methods

  • GetConfigurationSource()
    GetConfigurationSource()

    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 ConfigurationSource GetConfigurationSource()Public Overridable Function GetConfigurationSource As ConfigurationSource

    Returns

  • GetPrincipalKeyValueFactory<TKey>()
    GetPrincipalKeyValueFactory(Of TKey)()

    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 IPrincipalKeyValueFactory<TKey> GetPrincipalKeyValueFactory<TKey>()Public Overridable Function GetPrincipalKeyValueFactory(Of TKey) As IPrincipalKeyValueFactory(Of TKey)

    Returns

  • GetReferencingForeignKeys()
    GetReferencingForeignKeys()

    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 IEnumerable<ForeignKey> GetReferencingForeignKeys()Public Overridable Function GetReferencingForeignKeys As IEnumerable(Of ForeignKey)

    Returns

    • System.Collections.Generic.IEnumerable<T><ForeignKey>
      System.Collections.Generic.IEnumerable<T>(Of ForeignKey)
  • ToString()
    ToString()

    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 ToString()Public Overrides Function ToString As String

    Returns

    • System.String
      System.String
  • UpdateConfigurationSource(ConfigurationSource)
    UpdateConfigurationSource(ConfigurationSource)

    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 void UpdateConfigurationSource(ConfigurationSource configurationSource)Public Overridable Sub UpdateConfigurationSource(configurationSource As ConfigurationSource)

    Parameters

Explicit Interface Implementations

  • IKey.DeclaringEntityType
    Microsoft.EntityFrameworkCore.Metadata.IKey.DeclaringEntityType
    IEntityType IKey.DeclaringEntityType { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IKey.DeclaringEntityType As IEntityType Implements IKey.DeclaringEntityType

    Returns

  • IKey.Properties
    Microsoft.EntityFrameworkCore.Metadata.IKey.Properties
    IReadOnlyList<IProperty> IKey.Properties { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IKey.Properties As IReadOnlyList(Of IProperty) Implements IKey.Properties

    Returns

    • System.Collections.Generic.IReadOnlyList<T><IProperty>
      System.Collections.Generic.IReadOnlyList<T>(Of IProperty)
  • IMutableKey.DeclaringEntityType
    Microsoft.EntityFrameworkCore.Metadata.IMutableKey.DeclaringEntityType
    IMutableEntityType IMutableKey.DeclaringEntityType { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableKey.DeclaringEntityType As IMutableEntityType Implements IMutableKey.DeclaringEntityType

    Returns

  • IMutableKey.Properties
    Microsoft.EntityFrameworkCore.Metadata.IMutableKey.Properties
    IReadOnlyList<IMutableProperty> IMutableKey.Properties { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableKey.Properties As IReadOnlyList(Of IMutableProperty) Implements IMutableKey.Properties

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll