NotMappedMemberAttributeConvention Class
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
See Model building conventions for more information and examples.
Not |
Creates a new instance of NotMappedMemberAttributeConvention. |
Dependencies |
Dependencies for this service. |
Process |
Called after a complex property is added to a type-like object. |
Process |
Called after an entity type is added to the model. |
Should |
Returns a value indicating whether the given CLR member should be ignored. |
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: