NavigationBackingFieldAttributeConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將導覽屬性設定為以 屬性為基礎的 BackingFieldAttribute 備份欄位的慣例。
public class NavigationBackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
public class NavigationBackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
type NavigationBackingFieldAttributeConvention = class
inherit NavigationAttributeConventionBase<BackingFieldAttribute>
type NavigationBackingFieldAttributeConvention = class
inherit NavigationAttributeConventionBase<BackingFieldAttribute>
interface INavigationAddedConvention
interface IConvention
interface ISkipNavigationAddedConvention
Public Class NavigationBackingFieldAttributeConvention
Inherits NavigationAttributeConventionBase(Of BackingFieldAttribute)
Public Class NavigationBackingFieldAttributeConvention
Inherits NavigationAttributeConventionBase(Of BackingFieldAttribute)
Implements INavigationAddedConvention, ISkipNavigationAddedConvention
- 繼承
-
NavigationBackingFieldAttributeConvention
- 實作
備註
如需詳細資訊和範例,請參閱 模型建置慣例 。
建構函式
NavigationBackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies) |
建立 NavigationBackingFieldAttributeConvention 的新執行個體。 |
屬性
Dependencies |
此服務的相依性。 (繼承來源 NavigationAttributeConventionBase<TAttribute>) |