다음을 통해 공유


TableNameFromDbSetConvention 클래스

정의

속성 이름을 기반으로 DbSet<TEntity> 테이블 이름을 구성하는 규칙입니다.

public class TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
public class TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type TableNameFromDbSetConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IEntityTypeBaseTypeChangedConvention
type TableNameFromDbSetConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IEntityTypeBaseTypeChangedConvention
    interface IModelFinalizingConvention
type TableNameFromDbSetConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IEntityTypeBaseTypeChangedConvention
    interface IEntityTypeAnnotationChangedConvention
    interface IModelFinalizingConvention
Public Class TableNameFromDbSetConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
Public Class TableNameFromDbSetConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IModelFinalizingConvention
Public Class TableNameFromDbSetConvention
Implements IEntityTypeAddedConvention, IEntityTypeAnnotationChangedConvention, IEntityTypeBaseTypeChangedConvention, IModelFinalizingConvention
상속
TableNameFromDbSetConvention
구현

설명

자세한 내용 및 예제는 모델 빌드 규칙을 참조하세요.

생성자

TableNameFromDbSetConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

TableNameFromDbSetConvention의 새 인스턴스를 만듭니다.

속성

Dependencies

이 서비스에 대한 종속성입니다.

RelationalDependencies

이 서비스에 대한 관계형 공급자별 종속성입니다.

메서드

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

엔터티 형식이 모델에 추가된 후 호출됩니다.

ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

엔터티 형식에서 주석이 변경된 후 호출됩니다.

ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

엔터티 형식의 기본 형식이 변경된 후 호출됩니다.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델을 완료할 때 호출됩니다.

적용 대상