Click or drag to resize

LinqUtils.CreateDerivedTable Method

Creates a derived table definition from the expression to convert.

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 static DerivedTableDefinition CreateDerivedTable(
	QueryExpression expressionToConvert,
	string alias,
	IElementCreatorCore generatedCodeElementCreator,
	MappingTracker trackedMappings,
	ITemplateGroupSpecificCreator frameworkElementCreator
)

Parameters

expressionToConvert
Type: SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClasses.QueryExpression
The expression to convert.
alias
Type: System.String
The alias for the derived table.
generatedCodeElementCreator
Type: SD.LLBLGen.Pro.ORMSupportClasses.IElementCreatorCore
The generated code element creator.
trackedMappings
Type: SD.LLBLGen.Pro.LinqSupportClasses.MappingTracker
The tracked mappings.
frameworkElementCreator
Type: SD.LLBLGen.Pro.LinqSupportClasses.ITemplateGroupSpecificCreator
The framework element creator.

Return Value

Type: DerivedTableDefinition
ready to use derived table definition
Remarks
Assumes expressionToConvert has been flattened to a single query expression.
See Also