語言

ScaffoldingModelExtensions 類別

定義

設計時模型擴充。

[System.Runtime.CompilerServices.Nullable(0)]
public static class ScaffoldingModelExtensions
public static class ScaffoldingModelExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type ScaffoldingModelExtensions = class
type ScaffoldingModelExtensions = class
Public Module ScaffoldingModelExtensions
繼承
ScaffoldingModelExtensions
屬性

方法

名稱 Description
GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

取得資料註解以設定實體類型。

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

取得資料註解以設定導航屬性。

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

取得資料註解以設定屬性。

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

取得資料註解以設定跳過導覽屬性。

GetDbSetName(IReadOnlyEntityType)

取得該實體類型類別中應該使用的 DbSet<TEntity> 屬性 DbContext 名稱。

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

取得流暢的 API 呼叫來設定實體類型。

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

能取得流暢的 API 呼叫來配置外鍵。

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

取得流暢的 API 呼叫來設定索引。

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

能取得流暢的 API 呼叫來設定金鑰。

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

取得流暢的 API 呼叫來配置模型。

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

取得流暢的 API 呼叫來設定屬性。

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

取得流暢的 API 呼叫來設定序列。

IsHandledByConvention(IKey)

會得到一個值,表示該金鑰是否會依照慣例進行配置。

IsHandledByDataAnnotations(IIndex, IAnnotationCodeGenerator)

獲得值,表示該索引是否能完全由資料註解回應。

IsLeftNavigation(ISkipNavigation)

會得到一個值,表示指定的跳過導覽是否代表關係的左側。

IsSimpleManyToManyJoinEntityType(IEntityType)

檢查某個實體類型是否可以被視為多對多連接實體類型。

適用於