DbModelBuilder.Ignore(Of T) Method

Entity Framework 5.0

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

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

Public Overridable Function Ignore(Of T As Class) As DbModelBuilder
Dim instance As DbModelBuilder 
Dim returnValue As DbModelBuilder 

returnValue = instance.Ignore()

Type Parameters


The type to be excluded.

Return Value

Type: System.Data.Entity.DbModelBuilder
The same DbModelBuilder instance so that multiple calls can be chained.