ODataModelBuilder.RemoveEntitySet Method (String)
Removes the entity set from the model.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.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 and false otherwise.
See Also
ODataModelBuilder Class
System.Web.OData.Builder Namespace
Return to top