FunctionConfiguration.ReturnsFromEntitySet<TEntityType>(String) 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 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