Share via


EntityEntry<TEntity>.Reference 메서드

정의

오버로드

Reference<TProperty>(INavigationBase)

이 엔터티를 다른 엔터티에 연결하는 참조(즉, 비 컬렉션) 탐색에 대한 변경 내용 추적 및 로드 정보에 대한 액세스를 제공합니다.

Reference<TProperty>(Expression<Func<TEntity,TProperty>>)

이 엔터티를 다른 엔터티에 연결하는 참조(즉, 비 컬렉션) 탐색 속성에 대한 변경 내용 추적 및 로드 정보에 대한 액세스를 제공합니다.

Reference<TProperty>(String)

이 엔터티를 다른 엔터티에 연결하는 참조(즉, 비 컬렉션) 탐색에 대한 변경 내용 추적 및 로드 정보에 대한 액세스를 제공합니다.

Reference<TProperty>(INavigationBase)

이 엔터티를 다른 엔터티에 연결하는 참조(즉, 비 컬렉션) 탐색에 대한 변경 내용 추적 및 로드 정보에 대한 액세스를 제공합니다.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<TEntity,TProperty> Reference<TProperty> (Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation) where TProperty : class;
override this.Reference : Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<'Entity, 'Property (requires 'Entity : null and 'Property : null)> (requires 'Property : null)
Public Overridable Function Reference(Of TProperty As Class) (navigation As INavigationBase) As ReferenceEntry(Of TEntity, TProperty)

형식 매개 변수

TProperty

매개 변수

navigation
INavigationBase

참조 탐색입니다.

반환

지정된 탐색 속성에 대한 변경 내용 추적 정보 및 작업을 노출하는 개체입니다.

설명

자세한 내용과 예제 는 EF Core에서 추적된 엔터티 액세스및 외세 키 및 탐색 변경을 참조하세요.

적용 대상

Reference<TProperty>(Expression<Func<TEntity,TProperty>>)

이 엔터티를 다른 엔터티에 연결하는 참조(즉, 비 컬렉션) 탐색 속성에 대한 변경 내용 추적 및 로드 정보에 대한 액세스를 제공합니다.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<TEntity,TProperty> Reference<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression) where TProperty : class;
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<TEntity,TProperty> Reference<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty?>> propertyExpression) where TProperty : class;
override this.Reference : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<'Entity, 'Property (requires 'Entity : null and 'Property : null)> (requires 'Property : null)
Public Overridable Function Reference(Of TProperty As Class) (propertyExpression As Expression(Of Func(Of TEntity, TProperty))) As ReferenceEntry(Of TEntity, TProperty)

형식 매개 변수

TProperty

매개 변수

propertyExpression
Expression<Func<TEntity,TProperty>>

정보 및 작업에 액세스하기 위한 참조 탐색을 나타내는 람다 식입니다.

반환

지정된 탐색 속성에 대한 변경 내용 추적 정보 및 작업을 노출하는 개체입니다.

설명

자세한 내용과 예제 는 EF Core에서 추적된 엔터티 액세스및 외세 키 및 탐색 변경을 참조하세요.

적용 대상

Reference<TProperty>(String)

이 엔터티를 다른 엔터티에 연결하는 참조(즉, 비 컬렉션) 탐색에 대한 변경 내용 추적 및 로드 정보에 대한 액세스를 제공합니다.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<TEntity,TProperty> Reference<TProperty> (string propertyName) where TProperty : class;
override this.Reference : string -> Microsoft.EntityFrameworkCore.ChangeTracking.ReferenceEntry<'Entity, 'Property (requires 'Entity : null and 'Property : null)> (requires 'Property : null)
Public Overridable Function Reference(Of TProperty As Class) (propertyName As String) As ReferenceEntry(Of TEntity, TProperty)

형식 매개 변수

TProperty

매개 변수

propertyName
String

탐색 속성의 이름입니다.

반환

지정된 탐색 속성에 대한 변경 내용 추적 정보 및 작업을 노출하는 개체입니다.

설명

자세한 내용과 예제 는 EF Core에서 추적된 엔터티 액세스및 외세 키 및 탐색 변경을 참조하세요.

적용 대상