KeyExtensions KeyExtensions Class

Definition

Extension methods for IKey.

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

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

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.

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