ConventionModelExtensions.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(IConventionModel, String) |
Indicates whether the given entity type name is ignored. |
IsIgnored(IConventionModel, Type) |
Indicates whether the given entity type is ignored. |
IsIgnored(IConventionModel, String)
- Source:
- ConventionModelExtensions.cs
- Source:
- ConventionModelExtensions.cs
- Source:
- ConventionModelExtensions.cs
Indicates whether the given entity type name is ignored.
public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string typeName);
static member IsIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> bool
<Extension()>
Public Function IsIgnored (model As IConventionModel, typeName As String) As Boolean
Parameters
- model
- IConventionModel
The model to check for ignored type.
- typeName
- String
The name of the entity type that could be ignored.
Returns
true
if the given entity type name is ignored.
Applies to
IsIgnored(IConventionModel, Type)
- Source:
- ConventionModelExtensions.cs
- Source:
- ConventionModelExtensions.cs
- Source:
- ConventionModelExtensions.cs
Indicates whether the given entity type is ignored.
public static bool IsIgnored (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member IsIgnored : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> bool
<Extension()>
Public Function IsIgnored (model As IConventionModel, type As Type) As Boolean
Parameters
- model
- IConventionModel
The model to check for ignored type.
- type
- Type
The entity type that might be ignored.
Returns
true
if the given entity type is ignored.
Applies to
Entity Framework