Share via


ActionConfiguration.ReturnsEntityViaEntitySetPath Method

Definition

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

Returns

Applies to