ForeignKeyExtensions ForeignKeyExtensions 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 static class ForeignKeyExtensions
Public Module ForeignKeyExtensions
Inheritance
System.ObjectSystem.Object
ForeignKeyExtensionsForeignKeyExtensions

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
methodName
System.String System.String
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

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

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<INavigation> System.Collections.Generic.IEnumerable(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<INavigation> System.Collections.Generic.IEnumerable(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<INavigation> System.Collections.Generic.IEnumerable(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<INavigation> System.Collections.Generic.IEnumerable(Of INavigation)

GetDependentKeyValueFactory(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)
Type Parameters
TKey
Parameters
Returns

GetHashCode() GetHashCode()

Inherited from System.Object

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<INavigation> System.Collections.Generic.IEnumerable(Of INavigation)

GetType() GetType()

Inherited from System.Object

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

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
singleLine
System.Boolean System.Boolean
indent
System.String System.String
Returns
System.String System.String

ToString() ToString()

Inherited from System.Object