Table of Contents

Class EntityFinder<TEntity>

Namespace
Microsoft.EntityFrameworkCore.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class EntityFinder<TEntity> : IEntityFinder<TEntity>, IEntityFinder where TEntity : class

Type Parameters

TEntity
Inheritance
EntityFinder<TEntity>
Implements
IEntityFinder<TEntity>
Inherited Members

Constructors

EntityFinder(IStateManager, IDbSetSource, IDbSetCache, IEntityType)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EntityFinder(IStateManager stateManager, IDbSetSource setSource, IDbSetCache setCache, IEntityType entityType)

Parameters

stateManager IStateManager
setSource IDbSetSource
setCache IDbSetCache
entityType IEntityType

Methods

Find(object?[]?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TEntity? Find(object?[]? keyValues)

Parameters

keyValues object[]

Returns

TEntity

FindAsync(object?[]?, CancellationToken)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual ValueTask<TEntity?> FindAsync(object?[]? keyValues, CancellationToken cancellationToken = default)

Parameters

keyValues object[]
cancellationToken CancellationToken

Returns

ValueTask<TEntity>

FindEntry(IEnumerable<IProperty>, IEnumerable<object?>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityEntry? FindEntry(IEnumerable<IProperty> properties, IEnumerable<object?> propertyValues)

Parameters

properties IEnumerable<IProperty>
propertyValues IEnumerable<object>

Returns

InternalEntityEntry

FindEntry(IEnumerable<object?>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityEntry? FindEntry(IEnumerable<object?> keyValues)

Parameters

keyValues IEnumerable<object>

Returns

InternalEntityEntry

FindEntry<TProperty>(IProperty, TProperty)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityEntry? FindEntry<TProperty>(IProperty property, TProperty propertyValue)

Parameters

property IProperty
propertyValue TProperty

Returns

InternalEntityEntry

Type Parameters

TProperty

FindEntry<TKey>(TKey)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityEntry? FindEntry<TKey>(TKey keyValue)

Parameters

keyValue TKey

Returns

InternalEntityEntry

Type Parameters

TKey

GetDatabaseValues(InternalEntityEntry)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual object[]? GetDatabaseValues(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry

Returns

object[]

GetDatabaseValuesAsync(InternalEntityEntry, CancellationToken)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual Task<object[]?> GetDatabaseValuesAsync(InternalEntityEntry entry, CancellationToken cancellationToken = default)

Parameters

entry InternalEntityEntry
cancellationToken CancellationToken

Returns

Task<object[]>

GetEntries(IEnumerable<IProperty>, IEnumerable<object?>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IEnumerable<InternalEntityEntry> GetEntries(IEnumerable<IProperty> properties, IEnumerable<object?> propertyValues)

Parameters

properties IEnumerable<IProperty>
propertyValues IEnumerable<object>

Returns

IEnumerable<InternalEntityEntry>

GetEntries<TProperty>(IProperty, TProperty)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IEnumerable<InternalEntityEntry> GetEntries<TProperty>(IProperty property, TProperty propertyValue)

Parameters

property IProperty
propertyValue TProperty

Returns

IEnumerable<InternalEntityEntry>

Type Parameters

TProperty

Load(INavigation, InternalEntityEntry, LoadOptions)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual void Load(INavigation navigation, InternalEntityEntry entry, LoadOptions options)

Parameters

navigation INavigation
entry InternalEntityEntry
options LoadOptions

LoadAsync(INavigation, InternalEntityEntry, LoadOptions, CancellationToken)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual Task LoadAsync(INavigation navigation, InternalEntityEntry entry, LoadOptions options, CancellationToken cancellationToken = default)

Parameters

navigation INavigation
entry InternalEntityEntry
options LoadOptions
cancellationToken CancellationToken

Returns

Task

Query(INavigation, InternalEntityEntry)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IQueryable<TEntity> Query(INavigation navigation, InternalEntityEntry entry)

Parameters

navigation INavigation
entry InternalEntityEntry

Returns

IQueryable<TEntity>