RelationshipDiscoveryConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據導覽屬性設定實體類型之間關聯性的慣例,只要沒有模棱兩可的對應反向導覽。
public class RelationshipDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention
public class RelationshipDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyNullNavigationSetConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention
public class RelationshipDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyNullNavigationSetConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ITypeIgnoredConvention
type RelationshipDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeIgnoredConvention
interface IEntityTypeBaseTypeChangedConvention
interface INavigationRemovedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationAddedConvention
interface IForeignKeyOwnershipChangedConvention
type RelationshipDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeIgnoredConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationRemovedConvention
interface INavigationAddedConvention
interface IForeignKeyOwnershipChangedConvention
type RelationshipDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeIgnoredConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationRemovedConvention
interface INavigationAddedConvention
interface IForeignKeyOwnershipChangedConvention
interface IForeignKeyNullNavigationSetConvention
interface IForeignKeyRemovedConvention
type RelationshipDiscoveryConvention = class
interface ITypeIgnoredConvention
interface IConvention
interface IEntityTypeAddedConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationRemovedConvention
interface INavigationAddedConvention
interface IForeignKeyOwnershipChangedConvention
interface IForeignKeyNullNavigationSetConvention
interface IForeignKeyRemovedConvention
Public Class RelationshipDiscoveryConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeIgnoredConvention, IEntityTypeMemberIgnoredConvention, IForeignKeyOwnershipChangedConvention, INavigationAddedConvention, INavigationRemovedConvention
Public Class RelationshipDiscoveryConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeIgnoredConvention, IEntityTypeMemberIgnoredConvention, IForeignKeyNullNavigationSetConvention, IForeignKeyOwnershipChangedConvention, IForeignKeyRemovedConvention, INavigationAddedConvention, INavigationRemovedConvention
Public Class RelationshipDiscoveryConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IForeignKeyNullNavigationSetConvention, IForeignKeyOwnershipChangedConvention, IForeignKeyRemovedConvention, INavigationAddedConvention, INavigationRemovedConvention, ITypeIgnoredConvention
- 繼承
-
RelationshipDiscoveryConvention
- 衍生
- 實作
-
IConvention IEntityTypeAddedConvention IEntityTypeBaseTypeChangedConvention IEntityTypeIgnoredConvention IEntityTypeMemberIgnoredConvention IForeignKeyOwnershipChangedConvention INavigationAddedConvention INavigationRemovedConvention IForeignKeyNullNavigationSetConvention IForeignKeyRemovedConvention ITypeIgnoredConvention
備註
如需詳細資訊和範例,請參閱 模型建置慣例 。
建構函式
RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies) |
建立 RelationshipDiscoveryConvention 的新執行個體。 |
屬性
Dependencies |
此服務的相依性。 |