BackingFieldConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據屬性名稱尋找屬性支援欄位的慣例:
- <[屬性名稱] >k__BackingField
- _[camel-cased 屬性名稱]
- _[屬性名稱]
- m_[camel-cased 屬性名稱]
- m_[屬性名稱]
- [屬性名稱]_
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
interface IModelFinalizedConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
interface ISkipNavigationAddedConvention
interface IModelFinalizingConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
interface ISkipNavigationAddedConvention
interface IComplexPropertyAddedConvention
interface IModelFinalizingConvention
Public Class BackingFieldConvention
Implements INavigationAddedConvention, IPropertyAddedConvention
Public Class BackingFieldConvention
Implements IModelFinalizedConvention, INavigationAddedConvention, IPropertyAddedConvention
Public Class BackingFieldConvention
Implements IModelFinalizingConvention, INavigationAddedConvention, IPropertyAddedConvention, ISkipNavigationAddedConvention
Public Class BackingFieldConvention
Implements IComplexPropertyAddedConvention, IModelFinalizingConvention, INavigationAddedConvention, IPropertyAddedConvention, ISkipNavigationAddedConvention
- 繼承
-
BackingFieldConvention
- 實作
備註
欄位類型必須是可指派給屬性類型或從屬性類型指派的類型。 如果發現多個相符欄位,則會擲回例外狀況。
如需詳細資訊和範例,請參閱 模型建置慣例 。
建構函式
BackingFieldConvention(ProviderConventionSetBuilderDependencies) |
建立 BackingFieldConvention 的新執行個體。 |
屬性
Dependencies |
此服務的相依性。 |