FunctionConfiguration.ReturnsCollectionFromEntitySet<TElementEntityType> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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