Share via


ActionConfiguration.ReturnsCollectionFromEntitySet Method

Definition

Overloads

ReturnsCollectionFromEntitySet<TElementEntityType>(EntitySetConfiguration<TElementEntityType>)

Sets the return type to a collection of entities.

ReturnsCollectionFromEntitySet<TElementEntityType>(String)

Sets the return type to a collection of entities.

ReturnsCollectionFromEntitySet<TElementEntityType>(EntitySetConfiguration<TElementEntityType>)

Sets the return type to a collection of entities.

public Microsoft.AspNet.OData.Builder.ActionConfiguration ReturnsCollectionFromEntitySet<TElementEntityType> (Microsoft.AspNet.OData.Builder.EntitySetConfiguration<TElementEntityType> entitySetConfiguration) where TElementEntityType : class;
member this.ReturnsCollectionFromEntitySet : Microsoft.AspNet.OData.Builder.EntitySetConfiguration<'ElementEntityType (requires 'ElementEntityType : null)> -> Microsoft.AspNet.OData.Builder.ActionConfiguration (requires 'ElementEntityType : null)
Public Function ReturnsCollectionFromEntitySet(Of TElementEntityType As Class) (entitySetConfiguration As EntitySetConfiguration(Of TElementEntityType)) As ActionConfiguration

Type Parameters

TElementEntityType

The entity type.

Parameters

entitySetConfiguration
EntitySetConfiguration<TElementEntityType>

The entity set which contains the returned entities.

Returns

Applies to

ReturnsCollectionFromEntitySet<TElementEntityType>(String)

Sets the return type to a collection of entities.

public Microsoft.AspNet.OData.Builder.ActionConfiguration ReturnsCollectionFromEntitySet<TElementEntityType> (string entitySetName) where TElementEntityType : class;
member this.ReturnsCollectionFromEntitySet : string -> Microsoft.AspNet.OData.Builder.ActionConfiguration (requires 'ElementEntityType : null)
Public Function ReturnsCollectionFromEntitySet(Of TElementEntityType As Class) (entitySetName As String) As ActionConfiguration

Type Parameters

TElementEntityType

The entity type.

Parameters

entitySetName
String

The name of the entity set which contains the returned entities.

Returns

Applies to