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
IStateManagersetSource
IDbSetSourcesetCache
IDbSetCacheentityType
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
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
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
IPropertypropertyValue
TProperty
Returns
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
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
InternalEntityEntrycancellationToken
CancellationToken
Returns
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
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
IPropertypropertyValue
TProperty
Returns
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
INavigationentry
InternalEntityEntryoptions
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
INavigationentry
InternalEntityEntryoptions
LoadOptionscancellationToken
CancellationToken
Returns
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
INavigationentry
InternalEntityEntry
Returns
- IQueryable<TEntity>