StructuralTypeConfiguration<TStructuralType>.CollectionProperty<TElementType> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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
의 입니다.
반환
속성의 추가 구성에 사용할 수 있는 구성 개체입니다.