Share via


ODataConventionModelBuilder.Ignore Method

Definition

Overloads

Ignore(Type[])

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.

Ignore<T>()

Excludes a type from the model. This is used to remove types from the model that were added by convention during initial model discovery.

Ignore(Type[])

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.

public Microsoft.AspNet.OData.Builder.ODataConventionModelBuilder Ignore (params Type[] types);
member this.Ignore : Type[] -> Microsoft.AspNet.OData.Builder.ODataConventionModelBuilder
Public Function Ignore (ParamArray types As Type()) As ODataConventionModelBuilder

Parameters

types
Type[]

The types to be excluded from the model.

Returns

The same so that multiple calls can be chained.

Applies to

Ignore<T>()

Excludes a type from the model. This is used to remove types from the model that were added by convention during initial model discovery.

public Microsoft.AspNet.OData.Builder.ODataConventionModelBuilder Ignore<T> ();
member this.Ignore : unit -> Microsoft.AspNet.OData.Builder.ODataConventionModelBuilder
Public Function Ignore(Of T) () As ODataConventionModelBuilder

Type Parameters

T

Returns

The same so that multiple calls can be chained.

Applies to