Share via


EntityTypeConfiguration<TEntityType>.Collection Property

Used to access a Collection of Entities throw which you can configure actions that are bindable to EntityCollections.

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

Syntax

'Declaration
Public ReadOnly Property Collection As EntityCollectionConfiguration(Of TEntityType)
    Get
'Usage
Dim instance As EntityTypeConfiguration 
Dim value As EntityCollectionConfiguration(Of TEntityType)

value = instance.Collection
public EntityCollectionConfiguration<TEntityType> Collection { get; }
public:
property EntityCollectionConfiguration<TEntityType>^ Collection {
    EntityCollectionConfiguration<TEntityType>^ get ();
}
member Collection : EntityCollectionConfiguration<'TEntityType>
function get Collection () : EntityCollectionConfiguration<TEntityType>

Property Value

Type: System.Web.Http.OData.Builder.EntityCollectionConfiguration<TEntityType>
Returns EntityCollectionConfiguration<TEntityType>.

See Also

Reference

EntityTypeConfiguration<TEntityType> Class

System.Web.Http.OData.Builder Namespace