ComplexPropertyDiscoveryConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
只要結構型別先前已配置為複型態或宣告型別即為複型,即可配置結構型態的複雜屬性。
[System.Runtime.CompilerServices.Nullable(0)]
public class ComplexPropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationRemovedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type ComplexPropertyDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface IComplexPropertyAddedConvention
interface INavigationRemovedConvention
interface INavigationAddedConvention
interface IPropertyRemovedConvention
interface IPropertyAddedConvention
interface ISkipNavigationRemovedConvention
interface ISkipNavigationAddedConvention
interface IModelFinalizingConvention
Public Class ComplexPropertyDiscoveryConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IModelFinalizingConvention, INavigationAddedConvention, INavigationRemovedConvention, IPropertyAddedConvention, IPropertyRemovedConvention, ISkipNavigationAddedConvention, ISkipNavigationRemovedConvention
- 繼承
-
ComplexPropertyDiscoveryConvention
- 屬性
- 實作
-
IComplexPropertyAddedConvention IConvention IEntityTypeAddedConvention IEntityTypeBaseTypeChangedConvention IEntityTypeMemberIgnoredConvention IModelFinalizingConvention INavigationAddedConvention INavigationRemovedConvention IPropertyAddedConvention IPropertyRemovedConvention ISkipNavigationAddedConvention ISkipNavigationRemovedConvention
備註
更多資訊與範例請參閱 模型建構慣例 。
建構函式
屬性
| 名稱 | Description |
|---|---|
| Dependencies |
此服務的依賴關係。 |
| UseAttributes |
一個表示慣例是否會使用成員身上屬性的值。 |