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
)
Public Shared Function DetermineEntityTypeFromType (
sourceType As Type
) As Type
Parameters
- sourceType
- Type: SystemType
Type of the source.
Return Value
Type:
TypesourceType 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