Click or drag to resize

EntityExpressionCreateCloneWithDifferentEntityType Method

Creates a clone of the passed in entityexpression with a different entity type

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static EntityExpression CreateCloneWithDifferentEntityType(
	EntityExpression source,
	Type newType
)

Parameters

source
Type: SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClassesEntityExpression
The source.
newType
Type: SystemType
The new type.

Return Value

Type: EntityExpression
clone of source with newType as its type.
See Also