Share via


FunctionConfiguration.ReturnsFromEntitySet<TEntityType>(String) Method

Definition

Sets the return type to a single EntityType instance.

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

Type Parameters

TEntityType

The type that is an EntityType

Parameters

entitySetName
String

The entitySetName which contains the return EntityType instance

Returns

Applies to