다음을 통해 공유


StructuralTypeConfiguration<TStructuralType>.CollectionProperty<TElementType> 메서드

정의

EDM 형식에 컬렉션 속성을 추가합니다.

public Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration CollectionProperty<TElementType> (System.Linq.Expressions.Expression<Func<TStructuralType,System.Collections.Generic.IEnumerable<TElementType>>> propertyExpression);
member this.CollectionProperty : System.Linq.Expressions.Expression<Func<'StructuralType, seq<'ElementType>>> -> Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration
Public Function CollectionProperty(Of TElementType) (propertyExpression As Expression(Of Func(Of TStructuralType, IEnumerable(Of TElementType)))) As CollectionPropertyConfiguration

형식 매개 변수

TElementType

컬렉션의 요소 형식입니다.

매개 변수

propertyExpression
Expression<Func<TStructuralType,IEnumerable<TElementType>>>

관계에 대한 탐색 속성을 나타내는 람다 식입니다. 예를 들어 C# t => t.MyProperty 및 Visual Basic .NET Function(t) t.MyProperty의 입니다.

반환

속성의 추가 구성에 사용할 수 있는 구성 개체입니다.

적용 대상