ActionConfiguration.ReturnsEntityViaEntitySetPath 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.
Overloads
ReturnsEntityViaEntitySetPath<TEntityType>(String) |
Sets the return type to a single EntityType instance. |
ReturnsEntityViaEntitySetPath<TEntityType>(String[]) |
Sets the return type to a single EntityType instance. |
ReturnsEntityViaEntitySetPath<TEntityType>(String)
Sets the return type to a single EntityType instance.
public Microsoft.AspNet.OData.Builder.ActionConfiguration ReturnsEntityViaEntitySetPath<TEntityType> (string entitySetPath) where TEntityType : class;
member this.ReturnsEntityViaEntitySetPath : string -> Microsoft.AspNet.OData.Builder.ActionConfiguration (requires 'EntityType : null)
Public Function ReturnsEntityViaEntitySetPath(Of TEntityType As Class) (entitySetPath As String) As ActionConfiguration
Type Parameters
- TEntityType
The type that is an EntityType
Parameters
- entitySetPath
- String
The entitySetPath which contains the return EntityType instance
Returns
Applies to
ReturnsEntityViaEntitySetPath<TEntityType>(String[])
Sets the return type to a single EntityType instance.
public Microsoft.AspNet.OData.Builder.ActionConfiguration ReturnsEntityViaEntitySetPath<TEntityType> (params string[] entitySetPath) where TEntityType : class;
member this.ReturnsEntityViaEntitySetPath : string[] -> Microsoft.AspNet.OData.Builder.ActionConfiguration (requires 'EntityType : null)
Public Function ReturnsEntityViaEntitySetPath(Of TEntityType As Class) (ParamArray entitySetPath As String()) As ActionConfiguration
Type Parameters
- TEntityType
The type that is an EntityType
Parameters
- entitySetPath
- String[]
The entitySetPath which contains the return EntityType instance