ScaffoldingModelExtensions 類別

定義

設計階段模型延伸模組。

public static class ScaffoldingModelExtensions
type ScaffoldingModelExtensions = class
Public Module ScaffoldingModelExtensions
繼承
ScaffoldingModelExtensions

方法

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

取得要設定實體類型的資料批註。

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

取得要設定導覽屬性的資料批註。

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

取得要設定屬性的資料批註。

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

取得資料批註,以設定略過導覽屬性。

GetDbSetName(IReadOnlyEntityType)

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

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

取得 Fluent API 呼叫以設定實體類型。

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

取得 Fluent API 呼叫以設定外鍵。

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

取得 Fluent API 呼叫以設定索引。

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

取得用來設定金鑰的 Fluent API 呼叫。

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

取得用來設定模型的 Fluent API 呼叫。

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

取得用來設定屬性的 Fluent API 呼叫。

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

取得用來設定序列的 Fluent API 呼叫。

IsHandledByConvention(IKey)

取得值,指出索引鍵是否由慣例設定。

IsHandledByDataAnnotations(IIndex, IAnnotationCodeGenerator)

取得值,指出這個索引是否可以由資料批註完全重新排列。

IsLeftNavigation(ISkipNavigation)

取得值,指出指定的略過導覽是否代表關聯性的左側。

IsSimpleManyToManyJoinEntityType(IEntityType)

檢查實體類型是否可視為多對多聯結實體類型。

適用於