KeyConvention KeyConvention Class

Definition

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 class KeyConvention : IPrimaryKeyConvention, IForeignKeyConvention, IForeignKeyRemovedConvention
Public Class KeyConvention
    Implements IPrimaryKeyConvention, IForeignKeyConvention, IForeignKeyRemovedConvention
Inheritance
System.ObjectSystem.Object
KeyConventionKeyConvention
Implements

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
foreignKey
ForeignKey ForeignKey

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
previousPrimaryKey
Key Key
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

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FindValueGeneratedOnAddProperty(IReadOnlyList, 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
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
entityType
EntityType EntityType
Returns

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

ToString() ToString()

Inherited from System.Object