Compartilhar via


QueryableMethodTranslatingExpressionVisitor.TranslateMemberAccess Method

Definition

Translates a member access. Used when a property on an entity type represents a collection on which queryable LINQ operators may be composed.

protected virtual Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateMemberAccess (System.Linq.Expressions.Expression source, Microsoft.EntityFrameworkCore.Metadata.MemberIdentity member);
abstract member TranslateMemberAccess : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.MemberIdentity -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
override this.TranslateMemberAccess : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.MemberIdentity -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overridable Function TranslateMemberAccess (source As Expression, member As MemberIdentity) As ShapedQueryExpression

Parameters

source
Expression

The shaped query on which the property access is applied.

member
MemberIdentity

The member being accessed.

Returns

The shaped query after translation.

Applies to