NotMappedMemberAttributeConvention Class
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.
A convention that ignores members on entity types that have the NotMappedAttribute.
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
type NotMappedMemberAttributeConvention = class
interface IEntityTypeAddedConvention
interface IConvention
type NotMappedMemberAttributeConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IComplexPropertyAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IEntityTypeAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention
- Inheritance
-
NotMappedMemberAttributeConvention
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
NotMappedMemberAttributeConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of NotMappedMemberAttributeConvention. |
Properties
Dependencies |
Dependencies for this service. |
Methods
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>) |
Called after a complex property is added to a type-like object. |
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
Called after an entity type is added to the model. |
ShouldIgnore(MemberInfo) |
Returns a value indicating whether the given CLR member should be ignored. |
Applies to
Entity Framework