Share via


FunctionConfiguration.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.FunctionConfiguration ReturnsEntityViaEntitySetPath<TEntityType> (string entitySetPath) where TEntityType : class;
member this.ReturnsEntityViaEntitySetPath : string -> Microsoft.AspNet.OData.Builder.FunctionConfiguration (requires 'EntityType : null)
Public Function ReturnsEntityViaEntitySetPath(Of TEntityType As Class) (entitySetPath As String) As FunctionConfiguration

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.FunctionConfiguration ReturnsEntityViaEntitySetPath<TEntityType> (params string[] entitySetPath) where TEntityType : class;
member this.ReturnsEntityViaEntitySetPath : string[] -> Microsoft.AspNet.OData.Builder.FunctionConfiguration (requires 'EntityType : null)
Public Function ReturnsEntityViaEntitySetPath(Of TEntityType As Class) (ParamArray entitySetPath As String()) As FunctionConfiguration

Type Parameters

TEntityType

The type that is an EntityType

Parameters

entitySetPath
String[]

The entitySetPath which contains the return EntityType instance

Returns

Applies to