Click or drag to resize
LinqUtilsCreateDerivedTable 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.3.0.0 (5.3.0)
Syntax
public static DerivedTableDefinition CreateDerivedTable(
	QueryExpression expressionToConvert,
	string alias,
	IElementCreatorCore generatedCodeElementCreator,
	MappingTracker trackedMappings,
	ITemplateGroupSpecificCreator frameworkElementCreator
)

Parameters

expressionToConvert
Type: SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClassesQueryExpression
The expression to convert.
alias
Type: SystemString
The alias for the derived table.
generatedCodeElementCreator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The generated code element creator.
trackedMappings
Type: SD.LLBLGen.Pro.LinqSupportClassesMappingTracker
The tracked mappings.
frameworkElementCreator
Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
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