ODataModelBuilder.RemoveEntitySet Method (String)
Removes the entity set from the model.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual bool RemoveEntitySet(
string name
)
public:
virtual bool RemoveEntitySet(
String^ name
)
abstract RemoveEntitySet :
name:string -> bool
override RemoveEntitySet :
name:string -> bool
Public Overridable Function RemoveEntitySet (
name As String
) As Boolean
Parameters
name
Type: System.StringThe name of the entity set to be removed.
Return Value
Type: System.Boolean
true if the entity set is present in the model; false otherwise.
See Also
ODataModelBuilder Class
System.Web.Http.OData.Builder Namespace
Return to top