Share via


FunctionConfiguration.ReturnsCollectionFromEntitySet<TElementEntityType> Method

Definition

Sets the return type to a collection of EntityType instances.

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

Type Parameters

TElementEntityType

The type that is an EntityType

Parameters

entitySetName
String

The entitySetName which contains the returned EntityType instances

Returns

Applies to