Share via


EntityCollectionConfiguration<TEntityType>.Function Method

Creates a new Function that binds to Collection(EntityType).

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

Syntax

'Declaration
Public Function Function ( _
    name As String _
) As FunctionConfiguration
'Usage
Dim instance As EntityCollectionConfiguration 
Dim name As String 
Dim returnValue As FunctionConfiguration 

returnValue = instance.Function(name)
public FunctionConfiguration Function(
    string name
)
public:
FunctionConfiguration^ Function(
    String^ name
)
member Function : 
        name:string -> FunctionConfiguration
public function Function(
    name : String
) : FunctionConfiguration

Parameters

Return Value

Type: System.Web.OData.Builder.FunctionConfiguration
A FunctionConfiguration to allow further configuration of the Function.

See Also

Reference

EntityCollectionConfiguration<TEntityType> Class

System.Web.OData.Builder Namespace