IndexAttributeConvention Class
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.
A convention that configures database indexes based on the IndexAttribute.
public class IndexAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type IndexAttributeConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IModelFinalizingConvention
Public Class IndexAttributeConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IModelFinalizingConvention
- Inheritance
-
IndexAttributeConvention
- Implements
See Model building conventions for more information and examples.
Index |
Creates a new instance of IndexAttributeConvention. |
Dependencies |
Dependencies for this service. |
Process |
Called after an entity type is added to the model. |
Process |
Called after the base type of an entity type changes. |
Process |
Called when a model is being finalized. |
מוצר | גירסאות |
---|---|
Entity Framework Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
משוב של Entity Framework
Entity Framework הוא פרויקט קוד פתוח. בחר קישור כדי לספק משוב: