ODataModelBuilder.RemoveProcedure Method
Removes a procedure from the model.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
RemoveProcedure(ProcedureConfiguration) | Removes the procedure from the model. |
|
RemoveProcedure(String) | Removes the procedure from the model. |
See Also
ODataModelBuilder Class
System.Web.Http.OData.Builder Namespace
Return to top
ODataModelBuilder.RemoveProcedure Method (ProcedureConfiguration)
Removes 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
procedure
Type: System.Web.Http.OData.Builder.ProcedureConfigurationThe procedure to be removed.
Return Value
Type: System.Boolean
true if the procedure is present in the model; false otherwise.
Return to top
ODataModelBuilder.RemoveProcedure Method (String)
Removes the procedure from the model.
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.StringThe name of the procedure to be removed.
Return Value
Type: System.Boolean
true if the procedure is present in the model; false otherwise.
Return to top