DbEntityEntry<TEntity>.Reference 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Reference(String) |
이 엔터티에서 다른 엔터티로의 참조(비컬렉션) 탐색 속성을 나타내는 개체를 가져옵니다. |
| Reference<TProperty>(Expression<Func<TEntity,TProperty>>) |
이 엔터티에서 다른 엔터티로의 참조(비컬렉션) 탐색 속성을 나타내는 개체를 가져옵니다. |
| Reference<TProperty>(String) |
이 엔터티에서 다른 엔터티로의 참조(비컬렉션) 탐색 속성을 나타내는 개체를 가져옵니다. |
Reference(String)
이 엔터티에서 다른 엔터티로의 참조(비컬렉션) 탐색 속성을 나타내는 개체를 가져옵니다.
public System.Data.Entity.Infrastructure.DbReferenceEntry Reference(string navigationProperty);
member this.Reference : string -> System.Data.Entity.Infrastructure.DbReferenceEntry
Public Function Reference (navigationProperty As String) As DbReferenceEntry
매개 변수
- navigationProperty
- String
탐색 속성의 이름입니다.
반환
탐색 속성을 나타내는 개체입니다.
적용 대상
Reference<TProperty>(Expression<Func<TEntity,TProperty>>)
이 엔터티에서 다른 엔터티로의 참조(비컬렉션) 탐색 속성을 나타내는 개체를 가져옵니다.
public System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity,TProperty> Reference<TProperty>(System.Linq.Expressions.Expression<Func<TEntity,TProperty>> navigationProperty) where TProperty : class;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity,TProperty> Reference<TProperty>(System.Linq.Expressions.Expression<Func<TEntity,TProperty>> navigationProperty) where TProperty : class;
member this.Reference : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> System.Data.Entity.Infrastructure.DbReferenceEntry<'Entity, 'Property (requires 'Entity : null and 'Property : null)> (requires 'Property : null)
Public Function Reference(Of TProperty As Class) (navigationProperty As Expression(Of Func(Of TEntity, TProperty))) As DbReferenceEntry(Of TEntity, TProperty)
형식 매개 변수
- TProperty
속성의 형식입니다.
매개 변수
- navigationProperty
- Expression<Func<TEntity,TProperty>>
탐색 속성을 나타내는 식입니다.
반환
탐색 속성을 나타내는 개체입니다.
- 특성
적용 대상
Reference<TProperty>(String)
이 엔터티에서 다른 엔터티로의 참조(비컬렉션) 탐색 속성을 나타내는 개체를 가져옵니다.
public System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity,TProperty> Reference<TProperty>(string navigationProperty) where TProperty : class;
member this.Reference : string -> System.Data.Entity.Infrastructure.DbReferenceEntry<'Entity, 'Property (requires 'Entity : null and 'Property : null)> (requires 'Property : null)
Public Function Reference(Of TProperty As Class) (navigationProperty As String) As DbReferenceEntry(Of TEntity, TProperty)
형식 매개 변수
- TProperty
속성의 형식입니다.
매개 변수
- navigationProperty
- String
탐색 속성의 이름입니다.
반환
탐색 속성을 나타내는 개체입니다.