ExpressionExtensions.IsMemberAccess 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.
Overloads
| Name | Description |
|---|---|
| IsMemberAccess(Expression, IModel, Expression) |
Returns whether the given expression represents a member access and if so, returns the decomposed base expression and the member identity. |
| IsMemberAccess(Expression, IModel, Expression, MemberIdentity) |
Returns whether the given expression represents a member access and if so, returns the decomposed base expression and the member identity. |
IsMemberAccess(Expression, IModel, Expression)
- Source:
- ExpressionExtensions.cs
Returns whether the given expression represents a member access and if so, returns the decomposed base expression and the member identity.
public static bool IsMemberAccess(System.Linq.Expressions.Expression expression, Microsoft.EntityFrameworkCore.Metadata.IModel model, out System.Linq.Expressions.Expression? baseExpression);
static member IsMemberAccess : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.IModel * Expression -> bool
Public Function IsMemberAccess (expression As Expression, model As IModel, ByRef baseExpression As Expression) As Boolean
Parameters
- expression
- Expression
The expression to check.
- model
- IModel
The model being used.
- baseExpression
- Expression
The given expression, with the top-level member access node removed.
Returns
true if expression represents a member access, false otherwise.
Applies to
IsMemberAccess(Expression, IModel, Expression, MemberIdentity)
- Source:
- ExpressionExtensions.cs
Returns whether the given expression represents a member access and if so, returns the decomposed base expression and the member identity.
public static bool IsMemberAccess(System.Linq.Expressions.Expression expression, Microsoft.EntityFrameworkCore.Metadata.IModel model, out System.Linq.Expressions.Expression? baseExpression, out Microsoft.EntityFrameworkCore.Metadata.MemberIdentity memberIdentity);
static member IsMemberAccess : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.IModel * Expression * MemberIdentity -> bool
Public Function IsMemberAccess (expression As Expression, model As IModel, ByRef baseExpression As Expression, ByRef memberIdentity As MemberIdentity) As Boolean
Parameters
- expression
- Expression
The expression to check.
- model
- IModel
The model being used.
- baseExpression
- Expression
The given expression, with the top-level member access node removed.
- memberIdentity
- MemberIdentity
A MemberIdentity representing the member being accessed.
Returns
true if expression represents a member access, false otherwise.