KeyConvention KeyConvention 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 KeyConvention : IPrimaryKeyConvention, IForeignKeyConvention, IForeignKeyRemovedConventionPublic Class KeyConvention
    Implements IPrimaryKeyConvention, IForeignKeyConvention, IForeignKeyRemovedConvention

Inheritance Hierarchy

  • System.Object
    System.Object
  • KeyConvention
    KeyConvention

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

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.

Methods

  • Apply(InternalEntityTypeBuilder, ForeignKey)
    Apply(InternalEntityTypeBuilder, ForeignKey)

    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 Apply(InternalEntityTypeBuilder entityTypeBuilder, ForeignKey foreignKey)Public Overridable Sub Apply(entityTypeBuilder As InternalEntityTypeBuilder, foreignKey As ForeignKey)

    Parameters

  • Apply(InternalKeyBuilder, Key)
    Apply(InternalKeyBuilder, Key)

    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 Apply(InternalKeyBuilder keyBuilder, Key previousPrimaryKey)Public Overridable Function Apply(keyBuilder As InternalKeyBuilder, previousPrimaryKey As Key) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • Apply(InternalRelationshipBuilder)
    Apply(InternalRelationshipBuilder)

    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 InternalRelationshipBuilder Apply(InternalRelationshipBuilder relationshipBuilder)Public Overridable Function Apply(relationshipBuilder As InternalRelationshipBuilder) As InternalRelationshipBuilder

    Parameters

    Returns

  • FindValueGeneratedOnAddProperty(IReadOnlyList<Property>, EntityType)
    FindValueGeneratedOnAddProperty(IReadOnlyList(Of Property), EntityType)

    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 Property FindValueGeneratedOnAddProperty(IReadOnlyList<Property> properties, EntityType entityType)Public Overridable Function FindValueGeneratedOnAddProperty(properties As IReadOnlyList(Of  Property), entityType As EntityType) As 

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll