Table of Contents

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

dependencies QueryContextDependencies
cluster IKEFCoreCluster

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

entityType IEntityType

The IEntityType to retrieve

keyValues object[]

The key values

Returns

IEnumerable<ValueBuffer>

An IEnumerable<T> of ValueBuffer

GetValueBuffers(IEntityType)

Retrieve ValueBuffer for the specified IEntityType

public virtual IEnumerable<ValueBuffer> GetValueBuffers(IEntityType entityType)

Parameters

entityType IEntityType

The IEntityType to retrieve

Returns

IEnumerable<ValueBuffer>

An IEnumerable<T> of ValueBuffer

GetValueBuffersByPrefix(IEntityType, object?[])

Retrieve the ValueBuffer using prefix scan

public virtual IEnumerable<ValueBuffer> GetValueBuffersByPrefix(IEntityType entityType, object?[] prefixValues)

Parameters

entityType IEntityType

The IEntityType to retrieve

prefixValues object[]

The prefix

Returns

IEnumerable<ValueBuffer>

An IEnumerable<T> of ValueBuffer

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

entityType IEntityType

The IEntityType to retrieve

rangeStart object[]

The key values start

rangeEnd object[]

The key values end

Returns

IEnumerable<ValueBuffer>

An IEnumerable<T> of ValueBuffer

GetValueBuffersReverse(IEntityType)

Retrieve ValueBuffer for the specified IEntityType in reverse order

public virtual IEnumerable<ValueBuffer> GetValueBuffersReverse(IEntityType entityType)

Parameters

entityType IEntityType

The IEntityType to retrieve

Returns

IEnumerable<ValueBuffer>

An IEnumerable<T> of ValueBuffer

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

entityType IEntityType

The IEntityType to retrieve

rangeStart object[]

The key values start

rangeEnd object[]

The key values end

Returns

IEnumerable<ValueBuffer>

An IEnumerable<T> of ValueBuffer