SqlServerIndexConvention Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Convenzione che configura il filtro per indici univoci non cluster con colonne nullable per escludere i valori Null.
[System.Runtime.CompilerServices.Nullable(0)]
public class SqlServerIndexConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexUniquenessChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyNullabilityChangedConvention
public class SqlServerIndexConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IIndexUniquenessChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyNullabilityChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerIndexConvention = class
interface IEntityTypeBaseTypeChangedConvention
interface IConvention
interface IIndexAddedConvention
interface IIndexUniquenessChangedConvention
interface IIndexAnnotationChangedConvention
interface IPropertyNullabilityChangedConvention
interface IPropertyAnnotationChangedConvention
type SqlServerIndexConvention = class
interface IEntityTypeBaseTypeChangedConvention
interface IConvention
interface IIndexAddedConvention
interface IIndexUniquenessChangedConvention
interface IIndexAnnotationChangedConvention
interface IPropertyNullabilityChangedConvention
interface IPropertyAnnotationChangedConvention
Public Class SqlServerIndexConvention
Implements IEntityTypeBaseTypeChangedConvention, IIndexAddedConvention, IIndexAnnotationChangedConvention, IIndexUniquenessChangedConvention, IPropertyAnnotationChangedConvention, IPropertyNullabilityChangedConvention
- Ereditarietà
-
SqlServerIndexConvention
- Attributi
- Implementazioni
Commenti
Per altre informazioni ed esempi, vedere Convenzioni di compilazione di modelli e Accesso a SQL Server e Azure SQL database con EF Core.
Costruttori
| Nome | Descrizione |
|---|---|
| SqlServerIndexConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies, ISqlGenerationHelper) |
Crea una nuova istanza di SqlServerIndexConvention. |
Proprietà
| Nome | Descrizione |
|---|---|
| Dependencies |
Dipendenze per questo servizio. |
| RelationalDependencies |
Dipendenze specifiche del provider relazionale per questo servizio. |