RelationalSqlTranslatingExpressionVisitor.TryTranslatePropertyAccess 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 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
傳回
- 屬性