语言

RelationalSqlTranslatingExpressionVisitor.TryTranslatePropertyAccess 方法

定义

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual bool TryTranslatePropertyAccess(System.Linq.Expressions.Expression expression, out System.Linq.Expressions.Expression? translatedExpression, out Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member TryTranslatePropertyAccess : System.Linq.Expressions.Expression * Expression * IPropertyBase -> bool
override this.TryTranslatePropertyAccess : System.Linq.Expressions.Expression * Expression * IPropertyBase -> bool
Public Overridable Function TryTranslatePropertyAccess (expression As Expression, ByRef translatedExpression As Expression, ByRef property As IPropertyBase) As Boolean

参数

expression
Expression
translatedExpression
Expression
property
IPropertyBase

返回

特性

适用于