Share via


ActionConfiguration.ReturnsCollectionViaEntitySetPath Method

 

Sets the return type to a collection of EntityType instances.

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

Overload List

Name Description
System_CAPS_pubmethod ReturnsCollectionViaEntitySetPath<TElementEntityType>(String)

Sets the return type to a collection of EntityType instances.

System_CAPS_pubmethod ReturnsCollectionViaEntitySetPath<TElementEntityType>(String[])

Sets the return type to a collection of EntityType instances.

See Also

ActionConfiguration Class
System.Web.OData.Builder Namespace

Return to top

ActionConfiguration.ReturnsCollectionViaEntitySetPath<TElementEntityType> Method (String)

Sets the return type to a collection of EntityType instances.

Syntax

public ActionConfiguration ReturnsCollectionViaEntitySetPath<TElementEntityType>(
    string entitySetPath
)
where TElementEntityType : class
public:
generic<typename TElementEntityType>
where TElementEntityType : ref class
ActionConfiguration^ ReturnsCollectionViaEntitySetPath(
    String^ entitySetPath
)
member ReturnsCollectionViaEntitySetPath<'TElementEntityType when 'TElementEntityType : not struct> : 
        entitySetPath:string -> ActionConfiguration
Public Function ReturnsCollectionViaEntitySetPath(Of TElementEntityType As Class) (
    entitySetPath As String
) As ActionConfiguration

Parameters

  • entitySetPath
    Type: System.String

    The entitySetPath which contains the returned EntityType instances

Return Value

Type: System.Web.OData.Builder.ActionConfiguration

Returns ActionConfiguration.

Type Parameters

  • TElementEntityType
    The type that is an EntityType

Return to top

ActionConfiguration.ReturnsCollectionViaEntitySetPath<TElementEntityType> Method (String[])

Sets the return type to a collection of EntityType instances.

Syntax

public ActionConfiguration ReturnsCollectionViaEntitySetPath<TElementEntityType>(
    params string[] entitySetPath
)
where TElementEntityType : class
public:
generic<typename TElementEntityType>
where TElementEntityType : ref class
ActionConfiguration^ ReturnsCollectionViaEntitySetPath(
    ... array<String^>^ entitySetPath
)
member ReturnsCollectionViaEntitySetPath<'TElementEntityType when 'TElementEntityType : not struct> : 
        [<ParamArrayAttribute>] entitySetPath:string[] -> ActionConfiguration
Public Function ReturnsCollectionViaEntitySetPath(Of TElementEntityType As Class) (
    ParamArray entitySetPath As String()
) As ActionConfiguration

Parameters

  • entitySetPath
    Type: System.String[]

    The entitySetPath which contains the returned EntityType instances

Return Value

Type: System.Web.OData.Builder.ActionConfiguration

Returns ActionConfiguration.

Type Parameters

  • TElementEntityType
    The type that is an EntityType

Return to top