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