ODataConventionModelBuilder.Ignore<T> Method
Excludes a type or types from the model. This is used to remove types from the model that were added by convention during initial model discovery.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function Ignore(Of T) As ODataConventionModelBuilder
'Usage
Dim instance As ODataConventionModelBuilder
Dim returnValue As ODataConventionModelBuilder
returnValue = instance.Ignore()
public ODataConventionModelBuilder Ignore<T>()
public:
generic<typename T>
ODataConventionModelBuilder^ Ignore()
member Ignore : unit -> ODataConventionModelBuilder
JScript does not support generic types and methods.
Type Parameters
- T
The type of the data.
Return Value
Type: System.Web.Http.OData.Builder.ODataConventionModelBuilder
The same ODataConventionModelBuilder so that multiple calls can be chained.