IConventionEntityTypeBuilder.IsIgnored(String, Boolean) 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.
Indicates whether the given member name is ignored for the given configuration source.
public bool IsIgnored (string memberName, bool fromDataAnnotation = false);
abstract member IsIgnored : string * bool -> bool
Public Function IsIgnored (memberName As String, Optional fromDataAnnotation As Boolean = false) As Boolean
Parameters
- memberName
- String
The name of the member that might be ignored.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
false
if the entity type contains a member with the given name,
the given member name hasn't been ignored or it was ignored using a lower configuration source;
true
otherwise.
Applies to
Entity Framework