WeakReferenceIdentityMap<TKey> WeakReferenceIdentityMap(Of TKey) 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 class WeakReferenceIdentityMap<TKey> : IWeakReferenceIdentityMap
Public Class WeakReferenceIdentityMap(Of TKey)
    Implements IWeakReferenceIdentityMap
Type Parameters
TKey
Inheritance
System.ObjectSystem.Object
WeakReferenceIdentityMap<TKey>WeakReferenceIdentityMap(Of TKey)
Implements

Constructors

WeakReferenceIdentityMap(IKey, IPrincipalKeyValueFactory) WeakReferenceIdentityMap(IKey, IPrincipalKeyValueFactory(Of TKey))

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 WeakReferenceIdentityMap(IKey key, IPrincipalKeyValueFactory<TKey> principalKeyValueFactory)
Public Sub New(key As IKey, principalKeyValueFactory As IPrincipalKeyValueFactory(Of TKey))
Parameters
key
IKey IKey
principalKeyValueFactory
IPrincipalKeyValueFactory<TKey> IPrincipalKeyValueFactory(Of TKey)

Properties

Key Key

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 virtual IKey Key { get; }
Public Overridable ReadOnly Property Key As IKey
Value
IKey IKey

PrincipalKeyValueFactory PrincipalKeyValueFactory

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.

protected virtual IPrincipalKeyValueFactory<TKey> PrincipalKeyValueFactory { get; }
Protected Overridable ReadOnly Property PrincipalKeyValueFactory As IPrincipalKeyValueFactory(Of TKey)

Methods

Add(ValueBuffer, Object) Add(ValueBuffer, Object)

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 virtual void Add(ValueBuffer valueBuffer, object entity)
Public Overridable Sub Add(valueBuffer As ValueBuffer, entity As Object)
Parameters
valueBuffer
ValueBuffer ValueBuffer
entity
System.Object System.Object

CollectGarbage() CollectGarbage()

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 virtual void CollectGarbage()
Public Overridable Sub CollectGarbage

CreateIncludeKeyComparer(INavigation, InternalEntityEntry) CreateIncludeKeyComparer(INavigation, InternalEntityEntry)

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 virtual IIncludeKeyComparer CreateIncludeKeyComparer(INavigation navigation, InternalEntityEntry entry)
Public Overridable Function CreateIncludeKeyComparer(navigation As INavigation, entry As InternalEntityEntry) As IIncludeKeyComparer
Parameters
Returns

CreateIncludeKeyComparer(INavigation, ValueBuffer) CreateIncludeKeyComparer(INavigation, ValueBuffer)

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 virtual IIncludeKeyComparer CreateIncludeKeyComparer(INavigation navigation, ValueBuffer valueBuffer)
Public Overridable Function CreateIncludeKeyComparer(navigation As INavigation, valueBuffer As ValueBuffer) As IIncludeKeyComparer
Parameters
valueBuffer
ValueBuffer ValueBuffer
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

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

TryGetEntity(ValueBuffer, out Boolean) TryGetEntity(ValueBuffer, ByRef Boolean)

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 virtual WeakReference<object> TryGetEntity(ValueBuffer valueBuffer, out bool hasNullKey)
Public Overridable Function TryGetEntity(valueBuffer As ValueBuffer, ByRef hasNullKey As Boolean) As WeakReference(Of Object)
Parameters
valueBuffer
ValueBuffer ValueBuffer
hasNullKey
System.Boolean System.Boolean
Returns
System.WeakReference<System.Object> System.WeakReference(Of System.Object)