InversePropertyAttributeConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據其他導覽屬性上指定的 來設定反向導覽屬性 InversePropertyAttribute 的慣例。
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IModelFinalizedConvention
interface IConvention
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IModelFinalizingConvention
interface IConvention
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeRemovedConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationAddedConvention
interface IModelFinalizingConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IModelFinalizedConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IModelFinalizingConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IEntityTypeRemovedConvention, IModelFinalizingConvention, INavigationAddedConvention
- 繼承
-
InversePropertyAttributeConvention
- 衍生
- 實作
備註
如需詳細資訊和範例,請參閱 模型建置慣例 。
建構函式
InversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies) |
建立 InversePropertyAttributeConvention 的新執行個體。 |
屬性
Dependencies |
此服務的相依性。 (繼承來源 NavigationAttributeConventionBase<TAttribute>) |