Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Ignore(T) Method
Collapse the table of content
Expand the table of content

DbModelBuilder::Ignore<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:
generic<typename T>
where T : ref class 
virtual DbModelBuilder^ Ignore()

Type Parameters

T

The type to be excluded.

Return Value

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