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.3.0.0 (5.3.0)
Syntax public static Type DetermineEntityTypeFromMemberExpression(
MemberExpression member,
Type containingType
)
Public Shared Function DetermineEntityTypeFromMemberExpression (
member As MemberExpression,
containingType As Type
) As Type
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