SqlServerIndexConvention 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
null 허용 열이 있는 고유한 비클러스터형 인덱스에 대한 필터를 구성하여 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
- 상속
-
SqlServerIndexConvention
- 특성
- 구현
설명
자세한 내용 및 예제는 모델 빌드 규칙 및 EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스에 액세스하는 것을 참조하세요.
생성자
| 속성 | Description |
|---|---|
| SqlServerIndexConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies, ISqlGenerationHelper) |
SqlServerIndexConvention새 인스턴스를 생성합니다. |
속성
| 속성 | Description |
|---|---|
| Dependencies |
이 서비스에 대한 종속성입니다. |
| RelationalDependencies |
이 서비스에 대한 관계형 공급자별 종속성입니다. |