ForeignKeyIndexConvention ForeignKeyIndexConvention 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 ForeignKeyIndexConvention : IForeignKeyConvention, IForeignKeyRemovedConvention, IForeignKeyUniquenessConvention, IKeyConvention, IKeyRemovedConvention, IBaseTypeConvention, IIndexConvention, IIndexRemovedConvention, IIndexUniquenessConventionPublic Class ForeignKeyIndexConvention
    Implements IForeignKeyConvention, IForeignKeyRemovedConvention, IForeignKeyUniquenessConvention, IKeyConvention, IKeyRemovedConvention, IBaseTypeConvention, IIndexConvention, IIndexRemovedConvention, IIndexUniquenessConvention

Inheritance Hierarchy

  • System.Object
    System.Object
  • ForeignKeyIndexConvention
    ForeignKeyIndexConvention

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.

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

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, EntityType)
    Apply(InternalEntityTypeBuilder, 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 bool Apply(InternalEntityTypeBuilder entityTypeBuilder, EntityType oldBaseType)Public Overridable Function Apply(entityTypeBuilder As InternalEntityTypeBuilder, oldBaseType As EntityType) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • 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(InternalEntityTypeBuilder, Index)
    Apply(InternalEntityTypeBuilder, Index)

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

    Parameters

  • Apply(InternalEntityTypeBuilder, Key)
    Apply(InternalEntityTypeBuilder, 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 void Apply(InternalEntityTypeBuilder entityTypeBuilder, Key key)Public Overridable Sub Apply(entityTypeBuilder As InternalEntityTypeBuilder, key As Key)

    Parameters

  • Apply(InternalIndexBuilder)
    Apply(InternalIndexBuilder)

    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 InternalIndexBuilder Apply(InternalIndexBuilder indexBuilder)Public Overridable Function Apply(indexBuilder As InternalIndexBuilder) As InternalIndexBuilder

    Parameters

    Returns

  • Apply(InternalKeyBuilder)
    Apply(InternalKeyBuilder)

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

    Parameters

    Returns

  • 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

  • AreIndexedBy(IReadOnlyList<Property>, Boolean, IReadOnlyList<Property>, Boolean)
    AreIndexedBy(IReadOnlyList(Of Property), Boolean, IReadOnlyList(Of Property), Boolean)

    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.

    protected virtual bool AreIndexedBy(IReadOnlyList<Property> properties, bool unique, IReadOnlyList<Property> existingIndexProperties, bool existingIndexUniqueness)Protected Overridable Function AreIndexedBy(properties As IReadOnlyList(Of  Property), unique As Boolean, existingIndexProperties As IReadOnlyList(Of  Property), existingIndexUniqueness As Boolean) As Boolean

    Parameters

    • properties
      System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • unique
      System.Boolean
      System.Boolean
    • existingIndexProperties
      System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • existingIndexUniqueness
      System.Boolean
      System.Boolean

    Returns

    • System.Boolean
      System.Boolean
  • CreateIndex(IReadOnlyList<Property>, Boolean, InternalEntityTypeBuilder)
    CreateIndex(IReadOnlyList(Of Property), Boolean, InternalEntityTypeBuilder)

    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.

    protected virtual Index CreateIndex(IReadOnlyList<Property> properties, bool unique, InternalEntityTypeBuilder entityTypeBuilder)Protected Overridable Function CreateIndex(properties As IReadOnlyList(Of  Property), unique As Boolean, entityTypeBuilder As InternalEntityTypeBuilder) As Index

    Parameters

    Returns

Explicit Interface Implementations

  • IForeignKeyUniquenessConvention.Apply(InternalRelationshipBuilder)
    Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyUniquenessConvention.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.

    InternalRelationshipBuilder IForeignKeyUniquenessConvention.Apply(InternalRelationshipBuilder relationshipBuilder)Function Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyUniquenessConvention.Apply(relationshipBuilder As InternalRelationshipBuilder) As InternalRelationshipBuilder Implements IForeignKeyUniquenessConvention.Apply

    Parameters

    Returns

  • IIndexUniquenessConvention.Apply(InternalIndexBuilder)
    Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IIndexUniquenessConvention.Apply(InternalIndexBuilder)

    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.

    bool IIndexUniquenessConvention.Apply(InternalIndexBuilder indexBuilder)Function Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IIndexUniquenessConvention.Apply(indexBuilder As InternalIndexBuilder) As Boolean Implements IIndexUniquenessConvention.Apply

    Parameters

    Returns

    • System.Boolean
      System.Boolean

Details

Assembly

Microsoft.EntityFrameworkCore.dll