LLBLGenProProviderBase Class |
Namespace: SD.LLBLGen.Pro.LinqSupportClasses
The LLBLGenProProviderBase type exposes the following members.
Name | Description | |
---|---|---|
LLBLGenProProviderBase |
Initializes a new instance of the LLBLGenProProviderBase class.
|
Name | Description | |
---|---|---|
ContextToUse |
Gets / sets the context to use.
| |
Creator |
Gets the creator.
| |
CustomFunctionMappings | Gets or sets the custom function mappings to use. These take higher precedence than the ones in the DQE to use |
Name | Description | |
---|---|---|
CheckProjection |
Checks the projection. Throws a query construction exception if the projection can't be used to instantiate instances
| |
CopyCachingParameters |
Copies the caching parameters of the parent query into the nested query so the nested query will also have its resultset cached.
| |
CreateMultiValueProjector |
Creates the custom list or entity collection projector for a multi-value projection
| |
CreateResultsContainer |
Creates the results container for a multi-value projection
| |
CreateTemplateGroupCreator |
Creates the template group creator for this provider.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteAsyncTResult |
Executes the specified expression.
| |
ExecuteEntityProjection |
Executes the query expression which contains an entity projection.
| |
ExecuteEntityProjectionAsync |
Executes the query expression which contains an entity projection.
| |
ExecuteValueListProjection |
Executes the QueryExpression which contains a multi value list projection.
| |
ExecuteValueListProjectionAsync |
Executes the QueryExpression which contains a multi value list projection.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCompiledProjectionInstantiatorLambda |
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.
| |
GetDQEFunctionMappings |
Gets the function mappings defined by the DQE.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MaterializeCurrentLevelData |
Materializes the current level data into objects and returns them in an Ilist. Data is stored in the target of the projector passed in.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PostProcessQueryResult |
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.
| |
ProduceNestedQueryAdditionalFilter |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AlwaysUseLastSpecifiedTake |
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.
| |
CacheCompiledLamdbas |
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.
| |
CacheMaxEntriesPerThread |
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.
|
Name | Description | |
---|---|---|
IQueryProviderCreateQuery(Expression) |
Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.
| |
IQueryProviderCreateQueryTElement(Expression) |
Creates the query.
| |
IQueryProviderExecute(Expression) |
Executes the query represented by a specified expression tree.
| |
IQueryProviderExecuteTResult(Expression) |
Executes the specified expression.
|