Table of Contents

Interface IDbParamCache

Namespace
Rinku.Querying
Assembly
Rinku.dll

How a query keeps, per parameter, the learned strategy for binding it.

public interface IDbParamCache
Extension Methods

Methods

IsCached(int)

Whether the parameter at ind already has a settled binding strategy.

bool IsCached(int ind)

Parameters

ind int

Returns

bool

UpdateCache(int, DbParamInfo)

Pins the binding strategy for the parameter at ind.

bool UpdateCache(int ind, DbParamInfo info)

Parameters

ind int
info DbParamInfo

Returns

bool

UpdateCachedIndexes()

Refreshes the split between settled and unsettled parameters after a round of learning.

void UpdateCachedIndexes()

UpdateSpecialHandlers<T>(T)

Offers infoGetter to the special handlers that have not settled yet, so each can work out its own binding from the provider's metadata.

bool UpdateSpecialHandlers<T>(T infoGetter) where T : IDbParamInfoGetter

Parameters

infoGetter T

Returns

bool

Type Parameters

T