StructuralTypeConfiguration.AddCollectionProperty Method (PropertyInfo)
Adds a collection property to this edm type.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual CollectionPropertyConfiguration AddCollectionProperty(
PropertyInfo propertyInfo
)
public:
virtual CollectionPropertyConfiguration^ AddCollectionProperty(
PropertyInfo^ propertyInfo
)
abstract AddCollectionProperty :
propertyInfo:PropertyInfo -> CollectionPropertyConfiguration
override AddCollectionProperty :
propertyInfo:PropertyInfo -> CollectionPropertyConfiguration
Public Overridable Function AddCollectionProperty (
propertyInfo As PropertyInfo
) As CollectionPropertyConfiguration
Parameters
propertyInfo
Type: System.Reflection.PropertyInfoThe property being added.
Return Value
Type: System.Web.Http.OData.Builder.CollectionPropertyConfiguration
The CollectionPropertyConfiguration so that the property can be configured further.
See Also
StructuralTypeConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top