KeyExtensions KeyExtensions Class

Definition

Extension methods for IKey.

public static class KeyExtensions
Public Module KeyExtensions
Inheritance
System.ObjectSystem.Object
KeyExtensionsKeyExtensions

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

GetReferencingForeignKeys(IKey) GetReferencingForeignKeys(IKey)

Gets all foreign keys that target a given primary or alternate key.

public static IEnumerable<IForeignKey> GetReferencingForeignKeys(this IKey key)
<ExtensionAttribute>
Public Shared Function GetReferencingForeignKeys(key As IKey) As IEnumerable(Of IForeignKey)
Parameters
key
IKey IKey

The key to find the foreign keys for.

Returns
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)

The foreign keys that reference the given key.