ExpressionExtensions.GetMemberAccessList(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.
Returns a list of MemberInfo extracted from the given simple LambdaExpression.
public static System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> GetMemberAccessList (this System.Linq.Expressions.LambdaExpression memberAccessExpression);
static member GetMemberAccessList : System.Linq.Expressions.LambdaExpression -> System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo>
<Extension()>
Public Function GetMemberAccessList (memberAccessExpression As LambdaExpression) As IReadOnlyList(Of MemberInfo)
Parameters
- memberAccessExpression
- LambdaExpression
The expression.
Returns
The list of referenced members.
Remarks
Only simple expressions are supported, such as those used to reference a member.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework