Click or drag to resize

LinqUtilsDetermineEntityTypeFromType Method

Determines the type of the entity type from the type passed in.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static Type DetermineEntityTypeFromType(
	Type sourceType
)

Parameters

sourceType
Type: SystemType
Type of the source.

Return Value

Type: Type
sourceType if sourceType is an entity type. if sourceType is a generic type which has an entity type as generic argument, the generic argument is returned.
See Also