NotMappedMemberAttributeConvention 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
忽略具有 之實體類型成員的 NotMappedAttribute 慣例。
C#
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
C#
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
- 繼承
-
NotMappedMemberAttributeConvention
- 實作
如需詳細資訊和範例,請參閱 模型建置慣例 。
Not |
建立 NotMappedMemberAttributeConvention 的新執行個體。 |
Dependencies |
此服務的相依性。 |
Process |
在複雜屬性新增至類似型別的物件之後呼叫。 |
Process |
在實體類型新增至模型之後呼叫。 |
Should |
傳回值,指出是否應該忽略指定的 CLR 成員。 |
產品 | 版本 |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |