IConventionModelBuilder.IsIgnored Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IsIgnored(String, Boolean) |
Indicates whether the given entity type name is ignored for the current configuration source. |
IsIgnored(Type, Boolean) |
Indicates whether the given entity type name is ignored for the current configuration source. |
IsIgnored(String, Boolean)
- Source:
- IConventionModelBuilder.cs
- Source:
- IConventionModelBuilder.cs
- Source:
- IConventionModelBuilder.cs
Indicates whether the given entity type name is ignored for the current configuration source.
public bool IsIgnored (string typeName, bool fromDataAnnotation = false);
abstract member IsIgnored : string * bool -> bool
Public Function IsIgnored (typeName As String, Optional fromDataAnnotation As Boolean = false) As Boolean
Parameters
- typeName
- String
The name of the entity type that might be ignored.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
true
if the given entity type name is ignored.
Applies to
IsIgnored(Type, Boolean)
- Source:
- IConventionModelBuilder.cs
- Source:
- IConventionModelBuilder.cs
- Source:
- IConventionModelBuilder.cs
Indicates whether the given entity type name is ignored for the current configuration source.
public bool IsIgnored (Type type, bool fromDataAnnotation = false);
abstract member IsIgnored : Type * bool -> bool
Public Function IsIgnored (type As Type, Optional fromDataAnnotation As Boolean = false) As Boolean
Parameters
- type
- Type
The name of the entity type that might be ignored.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
true
if the given entity type name is ignored.
Applies to
Entity Framework