Click or drag to resize

LinqUtilsDetermineEntityTypeFromMemberExpression Method

Gets the entity type from member. Assumes the member is either an entity or a collection and the member is defined on an entity

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 DetermineEntityTypeFromMemberExpression(
	MemberExpression member,
	Type containingType
)

Parameters

member
Type: System.Linq.ExpressionsMemberExpression
The member.
containingType
Type: SystemType
Type of the containing type of the member.

Return Value

Type: Type
The entity type we're interested in which is represented by the member passed in.
See Also