Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
![]() |
ReturnsCollectionViaEntitySetPath<TElementEntityType>(String) | Sets the return type to a collection of EntityType instances. |
![]() |
ReturnsCollectionViaEntitySetPath<TElementEntityType>(String[]) | Sets the return type to a collection of EntityType instances. |
See Also
FunctionConfiguration Class
System.Web.OData.Builder Namespace
Return to top
FunctionConfiguration.ReturnsCollectionViaEntitySetPath<TElementEntityType> Method (String)
Sets the return type to a collection of EntityType instances.
Syntax
public FunctionConfiguration ReturnsCollectionViaEntitySetPath<TElementEntityType>(
string entitySetPath
)
where TElementEntityType : class
public:
generic<typename TElementEntityType>
where TElementEntityType : ref class
FunctionConfiguration^ ReturnsCollectionViaEntitySetPath(
String^ entitySetPath
)
member ReturnsCollectionViaEntitySetPath<'TElementEntityType when 'TElementEntityType : not struct> :
entitySetPath:string -> FunctionConfiguration
Public Function ReturnsCollectionViaEntitySetPath(Of TElementEntityType As Class) (
entitySetPath As String
) As FunctionConfiguration
Parameters
entitySetPath
Type: System.StringThe entitySetPath which contains the returned EntityType instances
Return Value
Type: System.Web.OData.Builder.FunctionConfiguration
Returns FunctionConfiguration.
Type Parameters
- TElementEntityType
The type that is an EntityType
Return to top
FunctionConfiguration.ReturnsCollectionViaEntitySetPath<TElementEntityType> Method (String[])
Sets the return type to a collection of EntityType instances.
Syntax
public FunctionConfiguration ReturnsCollectionViaEntitySetPath<TElementEntityType>(
params string[] entitySetPath
)
where TElementEntityType : class
public:
generic<typename TElementEntityType>
where TElementEntityType : ref class
FunctionConfiguration^ ReturnsCollectionViaEntitySetPath(
... array<String^>^ entitySetPath
)
member ReturnsCollectionViaEntitySetPath<'TElementEntityType when 'TElementEntityType : not struct> :
[<ParamArrayAttribute>] entitySetPath:string[] -> FunctionConfiguration
Public Function ReturnsCollectionViaEntitySetPath(Of TElementEntityType As Class) (
ParamArray entitySetPath As String()
) As FunctionConfiguration
Parameters
entitySetPath
Type: System.String[]The entitySetPath which contains the returned EntityType instances
Return Value
Type: System.Web.OData.Builder.FunctionConfiguration
Returns FunctionConfiguration.
Type Parameters
- TElementEntityType
The type that is an EntityType
Return to top
.jpeg)