Share via


EntityTypeConfiguration.AddCollectionProperty Method (PropertyInfo)

 

Adds a new EDM collection property to this entity type.

Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public override CollectionPropertyConfiguration AddCollectionProperty(
    PropertyInfo propertyInfo
)
public:
virtual CollectionPropertyConfiguration^ AddCollectionProperty(
    PropertyInfo^ propertyInfo
) override
override AddCollectionProperty : 
        propertyInfo:PropertyInfo -> CollectionPropertyConfiguration
Public Overrides Function AddCollectionProperty (
    propertyInfo As PropertyInfo
) As CollectionPropertyConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.CollectionPropertyConfiguration

Returns the CollectionPropertyConfiguration of the added property.

See Also

EntityTypeConfiguration Class
System.Web.Http.OData.Builder Namespace

Return to top