Share via


FunctionConfiguration.ReturnsFromEntitySet<TEntityType> Method (String)

 

Sets the return type to a single EntityType instance.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public FunctionConfiguration ReturnsFromEntitySet<TEntityType>(
    string entitySetName
)
where TEntityType : class
public:
generic<typename TEntityType>
where TEntityType : ref class
FunctionConfiguration^ ReturnsFromEntitySet(
    String^ entitySetName
)
member ReturnsFromEntitySet<'TEntityType when 'TEntityType : not struct> : 
        entitySetName:string -> FunctionConfiguration
Public Function ReturnsFromEntitySet(Of TEntityType As Class) (
    entitySetName As String
) As FunctionConfiguration

Parameters

  • entitySetName
    Type: System.String

    The entitySetName which contains the return EntityType instance

Return Value

Type: System.Web.OData.Builder.FunctionConfiguration

Returns FunctionConfiguration.

Type Parameters

  • TEntityType
    The type that is an EntityType

See Also

FunctionConfiguration Class
System.Web.OData.Builder Namespace

Return to top