KeyExtensions KeyExtensions 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 KeyExtensions
Public Module KeyExtensions
Inheritance
System.ObjectSystem.Object
KeyExtensionsKeyExtensions

Methods

AsKey(IKey, String) AsKey(IKey, 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 Key AsKey(this IKey key, string methodName = "")
<ExtensionAttribute>
Public Shared Function AsKey(key As IKey, methodName As String = "") As Key
Parameters
key
IKey IKey
methodName
System.String System.String
Returns

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetIdentityMapFactory(IKey) GetIdentityMapFactory(IKey)

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 Func<IIdentityMap> GetIdentityMapFactory(this IKey key)
<ExtensionAttribute>
Public Shared Function GetIdentityMapFactory(key As IKey) As Func(Of IIdentityMap)
Parameters
key
IKey IKey
Returns
System.Func<IIdentityMap> System.Func(Of IIdentityMap)

GetPrincipalKeyValueFactory(IKey) GetPrincipalKeyValueFactory(Of TKey)(IKey)

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 IPrincipalKeyValueFactory<TKey> GetPrincipalKeyValueFactory<TKey>(this IKey key)
<ExtensionAttribute>
Public Shared Function GetPrincipalKeyValueFactory(Of TKey)(key As IKey) As IPrincipalKeyValueFactory(Of TKey)
Type Parameters
TKey
Parameters
key
IKey IKey
Returns

GetType() GetType()

Inherited from System.Object

GetWeakReferenceIdentityMapFactory(IKey) GetWeakReferenceIdentityMapFactory(IKey)

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 Func<IWeakReferenceIdentityMap> GetWeakReferenceIdentityMapFactory(this IKey key)
<ExtensionAttribute>
Public Shared Function GetWeakReferenceIdentityMapFactory(key As IKey) As Func(Of IWeakReferenceIdentityMap)
Parameters
key
IKey IKey
Returns

IsPrimaryKey(IKey) IsPrimaryKey(IKey)

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 IsPrimaryKey(this IKey key)
<ExtensionAttribute>
Public Shared Function IsPrimaryKey(key As IKey) As Boolean
Parameters
key
IKey IKey
Returns
System.Boolean System.Boolean

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToDebugString(IKey, Boolean, String) ToDebugString(IKey, 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 IKey key, bool singleLine = true, string indent = "")
<ExtensionAttribute>
Public Shared Function ToDebugString(key As IKey, singleLine As Boolean = True, indent As String = "") As String
Parameters
key
IKey IKey
singleLine
System.Boolean System.Boolean
indent
System.String System.String
Returns
System.String System.String

ToString() ToString()

Inherited from System.Object