ScaffoldingModelExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Design-time model extensions.
public static class ScaffoldingModelExtensions
type ScaffoldingModelExtensions = class
Public Module ScaffoldingModelExtensions
- Inheritance
-
ScaffoldingModelExtensions
Methods
GetDataAnnotations(IEntityType, IAnnotationCodeGenerator) |
Gets the data annotations to configure an entity type. |
GetDataAnnotations(INavigation, IAnnotationCodeGenerator) |
Gets the data annotations to configure a navigation property. |
GetDataAnnotations(IProperty, IAnnotationCodeGenerator) |
Gets the data annotations to configure a property. |
GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator) |
Gets the data annotations to configure a skip navigation property. |
GetDbSetName(IReadOnlyEntityType) |
Gets the name that should be used for the DbSet<TEntity> property on the DbContext class for this entity type. |
GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator) |
Gets the fluent API calls to configure an entity type. |
GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean) |
Gets the fluent API calls to configure a foreign key. |
GetFluentApiCalls(IIndex, IAnnotationCodeGenerator) |
Gets the fluent API calls to configure an index. |
GetFluentApiCalls(IKey, IAnnotationCodeGenerator) |
Gets the fluent API calls to configure a key. |
GetFluentApiCalls(IModel, IAnnotationCodeGenerator) |
Gets the fluent API calls to configure a model. |
GetFluentApiCalls(IProperty, IAnnotationCodeGenerator) |
Gets the fluent API calls to configure a property. |
GetFluentApiCalls(ISequence, IAnnotationCodeGenerator) |
Gets the fluent API calls to configure a sequence. |
IsHandledByConvention(IKey) |
Gets a value indicating whether the key would be configured by conventions. |
IsHandledByDataAnnotations(IIndex, IAnnotationCodeGenerator) |
Gets value indicating whether this index can be entirely reperesented by a data annotation. |
IsLeftNavigation(ISkipNavigation) |
Gets a value indicating whether the specified skip navigation represents the left side of the relationship. |
IsSimpleManyToManyJoinEntityType(IEntityType) |
Check whether an entity type could be considered a many-to-many join entity type. |
Applies to
Entity Framework