Sdílet prostřednictvím


IndexAttributeConvention Třída

Definice

Konvence, která konfiguruje indexy databáze na základě .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
Dědičnost
IndexAttributeConvention
Implementuje

Poznámky

Další informace a příklady najdete v tématu Konvence vytváření modelů .

Platí pro