ExpressionExtensions.GetPropertyAccess(LambdaExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the PropertyInfo represented by a simple property-access expression.
public static System.Reflection.PropertyInfo GetPropertyAccess (this System.Linq.Expressions.LambdaExpression propertyAccessExpression);
static member GetPropertyAccess : System.Linq.Expressions.LambdaExpression -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetPropertyAccess (propertyAccessExpression As LambdaExpression) As PropertyInfo
Parameters
- propertyAccessExpression
- LambdaExpression
The expression.
Returns
The PropertyInfo.
Remarks
This method is typically used to parse property access lambdas from fluent APIs.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework