Jaa


EdmOperation.AddParameter Method

Definition

Overloads

AddParameter(IEdmOperationParameter)

Adds a parameter to this operation (as the last parameter).

AddParameter(String, IEdmTypeReference)

Creates and adds a parameter to this operation (as the last parameter).

AddParameter(IEdmOperationParameter)

Adds a parameter to this operation (as the last parameter).

public void AddParameter (Microsoft.OData.Edm.IEdmOperationParameter parameter);
member this.AddParameter : Microsoft.OData.Edm.IEdmOperationParameter -> unit
Public Sub AddParameter (parameter As IEdmOperationParameter)

Parameters

parameter
IEdmOperationParameter

The parameter being added.

Applies to

AddParameter(String, IEdmTypeReference)

Creates and adds a parameter to this operation (as the last parameter).

public Microsoft.OData.Edm.EdmOperationParameter AddParameter (string name, Microsoft.OData.Edm.IEdmTypeReference type);
member this.AddParameter : string * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.EdmOperationParameter
Public Function AddParameter (name As String, type As IEdmTypeReference) As EdmOperationParameter

Parameters

name
String

The name of the parameter being added.

type
IEdmTypeReference

The type of the parameter being added.

Returns

Created parameter.

Applies to