Class KEFCoreQueryContext
- Namespace
- MASES.EntityFrameworkCore.KNet.Query.Internal
- Assembly
- MASES.EntityFrameworkCore.KNet.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 KEFCoreQueryContext : QueryContext, IParameterValues
- Inheritance
-
KEFCoreQueryContext
- Implements
- Inherited Members
Remarks
Default initializer
Constructors
KEFCoreQueryContext(QueryContextDependencies, IKEFCoreCluster)
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 KEFCoreQueryContext(QueryContextDependencies dependencies, IKEFCoreCluster cluster)
Parameters
dependenciesQueryContextDependenciesclusterIKEFCoreCluster
Remarks
Default initializer
Methods
GetValueBuffer(IEntityType, object?[])
Retrieve ValueBuffer for the specified IEntityType with keyValues
public virtual IEnumerable<ValueBuffer> GetValueBuffer(IEntityType entityType, object?[] keyValues)
Parameters
entityTypeIEntityTypeThe IEntityType to retrieve
keyValuesobject[]The key values
Returns
GetValueBuffers(IEntityType)
Retrieve ValueBuffer for the specified IEntityType
public virtual IEnumerable<ValueBuffer> GetValueBuffers(IEntityType entityType)
Parameters
entityTypeIEntityTypeThe IEntityType to retrieve
Returns
GetValueBuffersByPrefix(IEntityType, object?[])
Retrieve the ValueBuffer using prefix scan
public virtual IEnumerable<ValueBuffer> GetValueBuffersByPrefix(IEntityType entityType, object?[] prefixValues)
Parameters
entityTypeIEntityTypeThe IEntityType to retrieve
prefixValuesobject[]The prefix
Returns
GetValueBuffersRange(IEntityType, object?[]?, object?[]?)
Retrieve ValueBuffer for the specified IEntityType in the range between rangeStart and rangeEnd
public virtual IEnumerable<ValueBuffer> GetValueBuffersRange(IEntityType entityType, object?[]? rangeStart, object?[]? rangeEnd)
Parameters
entityTypeIEntityTypeThe IEntityType to retrieve
rangeStartobject[]The key values start
rangeEndobject[]The key values end
Returns
GetValueBuffersReverse(IEntityType)
Retrieve ValueBuffer for the specified IEntityType in reverse order
public virtual IEnumerable<ValueBuffer> GetValueBuffersReverse(IEntityType entityType)
Parameters
entityTypeIEntityTypeThe IEntityType to retrieve
Returns
GetValueBuffersReverseRange(IEntityType, object?[]?, object?[]?)
Retrieve ValueBuffer for the specified IEntityType in the reverse range between rangeStart and rangeEnd
public virtual IEnumerable<ValueBuffer> GetValueBuffersReverseRange(IEntityType entityType, object?[]? rangeStart, object?[]? rangeEnd)
Parameters
entityTypeIEntityTypeThe IEntityType to retrieve
rangeStartobject[]The key values start
rangeEndobject[]The key values end