StructuralTypeConfiguration.AddCollectionProperty(PropertyInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.