Share via


ODataModelBuilder.RemoveProcedure Method

 

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

Overload List

Name Description
System_CAPS_pubmethod RemoveProcedure(ProcedureConfiguration)

Remove the procedure from the model

System_CAPS_pubmethod RemoveProcedure(String)

Remove the procedure from the model

Remarks

If there is more than one procedure with the name specified this method will not work. You need to use the other RemoveProcedure(..) overload instead.

See Also

ODataModelBuilder Class
System.Web.OData.Builder Namespace

Return to top

ODataModelBuilder.RemoveProcedure Method (ProcedureConfiguration)

Remove the procedure from the model

Syntax

public virtual bool RemoveProcedure(
    ProcedureConfiguration procedure
)
public:
virtual bool RemoveProcedure(
    ProcedureConfiguration^ procedure
)
abstract RemoveProcedure : 
        procedure:ProcedureConfiguration -> bool
override RemoveProcedure : 
        procedure:ProcedureConfiguration -> bool
Public Overridable Function RemoveProcedure (
    procedure As ProcedureConfiguration
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the procedure is present in the model and false otherwise.

Return to top

ODataModelBuilder.RemoveProcedure Method (String)

Remove the procedure from the model

Remarks

If there is more than one procedure with the name specified this method will not work. You need to use the other RemoveProcedure(..) overload instead.

Syntax

public virtual bool RemoveProcedure(
    string name
)
public:
virtual bool RemoveProcedure(
    String^ name
)
abstract RemoveProcedure : 
        name:string -> bool
override RemoveProcedure : 
        name:string -> bool
Public Overridable Function RemoveProcedure (
    name As String
) As Boolean

Parameters

  • name
    Type: System.String

    The name of the procedure to be removed.

Return Value

Type: System.Boolean

true if the procedure is present in the model and false otherwise.

Return to top