ForeignKeyExtensions ForeignKeyExtensions 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 static class ForeignKeyExtensionsPublic Module ForeignKeyExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • ForeignKeyExtensions
    ForeignKeyExtensions

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.

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

  • AsForeignKey(IForeignKey, String)
    AsForeignKey(IForeignKey, String)

    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 static ForeignKey AsForeignKey(this IForeignKey foreignKey, string methodName = "")<ExtensionAttribute>
    Public Shared Function AsForeignKey(foreignKey As IForeignKey, methodName As String = "") As ForeignKey

    Parameters

    Returns

  • CreateDependentsMapFactory(IForeignKey)
    CreateDependentsMapFactory(IForeignKey)

    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 static IDependentsMap CreateDependentsMapFactory(this IForeignKey foreignKey)<ExtensionAttribute>
    Public Shared Function CreateDependentsMapFactory(foreignKey As IForeignKey) As IDependentsMap

    Parameters

    Returns

  • FindNavigationsFrom(IForeignKey, IEntityType)
    FindNavigationsFrom(IForeignKey, IEntityType)

    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 static IEnumerable<INavigation> FindNavigationsFrom(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function FindNavigationsFrom(foreignKey As IForeignKey, entityType As IEntityType) As IEnumerable(Of INavigation)

    Parameters

    Returns

    • System.Collections.Generic.IEnumerable<T><INavigation>
      System.Collections.Generic.IEnumerable<T>(Of INavigation)
  • FindNavigationsFromInHierarchy(IForeignKey, IEntityType)
    FindNavigationsFromInHierarchy(IForeignKey, IEntityType)

    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 static IEnumerable<INavigation> FindNavigationsFromInHierarchy(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function FindNavigationsFromInHierarchy(foreignKey As IForeignKey, entityType As IEntityType) As IEnumerable(Of INavigation)

    Parameters

    Returns

    • System.Collections.Generic.IEnumerable<T><INavigation>
      System.Collections.Generic.IEnumerable<T>(Of INavigation)
  • FindNavigationsTo(IForeignKey, IEntityType)
    FindNavigationsTo(IForeignKey, IEntityType)

    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 static IEnumerable<INavigation> FindNavigationsTo(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function FindNavigationsTo(foreignKey As IForeignKey, entityType As IEntityType) As IEnumerable(Of INavigation)

    Parameters

    Returns

    • System.Collections.Generic.IEnumerable<T><INavigation>
      System.Collections.Generic.IEnumerable<T>(Of INavigation)
  • FindNavigationsToInHierarchy(IForeignKey, IEntityType)
    FindNavigationsToInHierarchy(IForeignKey, IEntityType)

    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 static IEnumerable<INavigation> FindNavigationsToInHierarchy(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function FindNavigationsToInHierarchy(foreignKey As IForeignKey, entityType As IEntityType) As IEnumerable(Of INavigation)

    Parameters

    Returns

    • System.Collections.Generic.IEnumerable<T><INavigation>
      System.Collections.Generic.IEnumerable<T>(Of INavigation)
  • GetDependentKeyValueFactory<TKey>(IForeignKey)
    GetDependentKeyValueFactory(Of TKey)(IForeignKey)

    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 static IDependentKeyValueFactory<TKey> GetDependentKeyValueFactory<TKey>(this IForeignKey foreignKey)<ExtensionAttribute>
    Public Shared Function GetDependentKeyValueFactory(Of TKey)(foreignKey As IForeignKey) As IDependentKeyValueFactory(Of TKey)

    Parameters

    Returns

  • GetNavigations(IForeignKey)
    GetNavigations(IForeignKey)

    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 static IEnumerable<INavigation> GetNavigations(this IForeignKey foreignKey)<ExtensionAttribute>
    Public Shared Function GetNavigations(foreignKey As IForeignKey) As IEnumerable(Of INavigation)

    Parameters

    Returns

    • System.Collections.Generic.IEnumerable<T><INavigation>
      System.Collections.Generic.IEnumerable<T>(Of INavigation)
  • IsIntraHierarchical(IForeignKey)
    IsIntraHierarchical(IForeignKey)

    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 static bool IsIntraHierarchical(this IForeignKey foreignKey)<ExtensionAttribute>
    Public Shared Function IsIntraHierarchical(foreignKey As IForeignKey) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • IsSelfPrimaryKeyReferencing(IForeignKey)
    IsSelfPrimaryKeyReferencing(IForeignKey)

    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 static bool IsSelfPrimaryKeyReferencing(this IForeignKey foreignKey)<ExtensionAttribute>
    Public Shared Function IsSelfPrimaryKeyReferencing(foreignKey As IForeignKey) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • IsSelfReferencing(IForeignKey)
    IsSelfReferencing(IForeignKey)

    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 static bool IsSelfReferencing(this IForeignKey foreignKey)<ExtensionAttribute>
    Public Shared Function IsSelfReferencing(foreignKey As IForeignKey) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • ResolveEntityTypeInHierarchy(IForeignKey, IEntityType)
    ResolveEntityTypeInHierarchy(IForeignKey, IEntityType)

    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 static IEntityType ResolveEntityTypeInHierarchy(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function ResolveEntityTypeInHierarchy(foreignKey As IForeignKey, entityType As IEntityType) As IEntityType

    Parameters

    Returns

  • ResolveOtherEntityType(IForeignKey, IEntityType)
    ResolveOtherEntityType(IForeignKey, IEntityType)

    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 static IEntityType ResolveOtherEntityType(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function ResolveOtherEntityType(foreignKey As IForeignKey, entityType As IEntityType) As IEntityType

    Parameters

    Returns

  • ResolveOtherEntityTypeInHierarchy(IForeignKey, IEntityType)
    ResolveOtherEntityTypeInHierarchy(IForeignKey, IEntityType)

    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 static IEntityType ResolveOtherEntityTypeInHierarchy(this IForeignKey foreignKey, IEntityType entityType)<ExtensionAttribute>
    Public Shared Function ResolveOtherEntityTypeInHierarchy(foreignKey As IForeignKey, entityType As IEntityType) As IEntityType

    Parameters

    Returns

  • ToDebugString(IForeignKey, Boolean, String)
    ToDebugString(IForeignKey, Boolean, String)

    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 static string ToDebugString(this IForeignKey foreignKey, bool singleLine = true, string indent = "")<ExtensionAttribute>
    Public Shared Function ToDebugString(foreignKey As IForeignKey, singleLine As Boolean = True, indent As String = "") As String

    Parameters

    • foreignKey
    • singleLine
      System.Boolean
      System.Boolean
    • indent
      System.String
      System.String

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.dll