DbModelBuilder.Ignore Method

Excludes a type or types from the model.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method 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 method Ignore(IEnumerable<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.
Top
Show: