Decode a member access expression of a specific ReflectedType

Namespace: NHibernate.Mapping.ByCode
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static MemberInfo DecodeMemberAccessExpressionOf<TEntity, TProperty>(
	Expression<Func<TEntity, TProperty>> expression
)
Visual Basic
Public Shared Function DecodeMemberAccessExpressionOf(Of TEntity, TProperty) ( _
	expression As Expression(Of Func(Of TEntity, TProperty)) _
) As MemberInfo
Visual C++
public:
generic<typename TEntity, typename TProperty>
static MemberInfo^ DecodeMemberAccessExpressionOf(
	Expression<Func<TEntity, TProperty>^>^ expression
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TEntity, TProperty>)>)>>)>)>
The expression of the property getter

Type Parameters

TEntity
Type to reflect
TProperty
Type of property

Return Value

The MemberInfo os the ReflectedType.

See Also