Click or drag to resize

LLBLGenProProviderBase Class

Abstract base class for llblgen pro providers for Linq.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public abstract class LLBLGenProProviderBase : IQueryProvider, 
	IContextAwareElement

The LLBLGenProProviderBase type exposes the following members.

Constructors
  NameDescription
Protected methodLLBLGenProProviderBase
Initializes a new instance of the LLBLGenProProviderBase class.
Top
Properties
  NameDescription
Public propertyContextToUse
Gets / sets the context to use.
Public propertyCreator
Gets the creator.
Public propertyCustomFunctionMappings
Gets or sets the custom function mappings to use. These take higher precedence than the ones in the DQE to use
Top
Methods
  NameDescription
Protected methodStatic memberCheckProjection
Checks the projection. Throws a query construction exception if the projection can't be used to instantiate instances
Protected methodStatic memberCopyCachingParameters
Copies the caching parameters of the parent query into the nested query so the nested query will also have its resultset cached.
Protected methodStatic memberCreateMultiValueProjector
Creates the custom list or entity collection projector for a multi-value projection
Protected methodStatic memberCreateResultsContainer
Creates the results container for a multi-value projection
Protected methodCreateTemplateGroupCreator
Creates the template group creator for this provider.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteAsyncTResult
Executes the specified expression.
Protected methodExecuteEntityProjection
Executes the query expression which contains an entity projection.
Protected methodExecuteEntityProjectionAsync
Executes the query expression which contains an entity projection.
Protected methodExecuteValueListProjection
Executes the QueryExpression which contains a multi value list projection.
Protected methodExecuteValueListProjectionAsync
Executes the QueryExpression which contains a multi value list projection.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCompiledProjectionInstantiatorLambda
Gets the compiled version of the specified projection instantiator lambda. Caches results if the specified lambda can be cached which is checked with the CachableChecker visitor.
Protected methodGetDQEFunctionMappings
Gets the function mappings defined by the DQE.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodStatic memberMaterializeCurrentLevelData
Materializes the current level data into objects and returns them in an Ilist. Data is stored in the target of the projector passed in.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPostProcessQueryResult
Postprocesses the query result passed in. it will determine whether it will return a single value or the complete resultset. This is required as some queries have implicit single value returns, while the results are e.g. in an IList construct.
Protected methodProduceNestedQueryAdditionalFilter
Produces the additional filter for the nested query so the nested query's results are filtered on the current level's results so only the results which possibly match a fetched element on the current level are retrieved.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberAlwaysUseLastSpecifiedTake
This setting controls whether a specified Take(m) will overwrite an already specified row limit of a previous specified Take(n). By default this setting is set to false, which is different from the the behavior of v2.6-v4.0, which is equal to having this setting set to true. Example: metaData.Customer.Take(10).Take(20) will result in 20 rows when this setting is set to true. When set to false (default), this query will result in 10 rows, as taking 20 rows from a set of 10 will always result in a set of 10 rows.
Public fieldStatic memberCacheCompiledLamdbas
Flag which signals whether compiled lambda's should be cached (true) or that they have to be compiled every time (false). Switch to false if caching gives memory problems or otherwise odd results.
Public fieldStatic memberCacheMaxEntriesPerThread
Static value which has appdomain scope, and which controls the cache size for the compiled lambdas per thread. Every time the cache hits the set limit, it's cleared. Compiling lambda's is done in Select(lambda) calls to create typed projections.
Top
Explicit Interface Implementations
See Also