Jaa


StructuralTypeConfiguration.AddCollectionProperty(PropertyInfo) Method

Definition

Adds a collection property to this edm type.

public virtual Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration AddCollectionProperty (System.Reflection.PropertyInfo propertyInfo);
abstract member AddCollectionProperty : System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration
override this.AddCollectionProperty : System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration
Public Overridable Function AddCollectionProperty (propertyInfo As PropertyInfo) As CollectionPropertyConfiguration

Parameters

propertyInfo
PropertyInfo

The property being added.

Returns

The CollectionPropertyConfiguration so that the property can be configured further.

Applies to