다음을 통해 공유


DbEntityEntry<TEntity>.Collection 메서드

정의

오버로드

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

탐색 속성의 이름입니다.

반환

탐색 속성을 나타내는 개체입니다.

적용 대상