다음을 통해 공유


AnnotationCodeGenerator 클래스

정의

를 구현할 때 데이터베이스 공급자가 사용할 기본 클래스 IAnnotationCodeGenerator

public class AnnotationCodeGenerator : Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator
type AnnotationCodeGenerator = class
    interface IAnnotationCodeGenerator
Public Class AnnotationCodeGenerator
Implements IAnnotationCodeGenerator
상속
AnnotationCodeGenerator
구현

설명

이 구현은 모든 'IsHandledByConvention' 메서드 및 null 모든 'GenerateFluentApi' 메서드에 대해 를 반환 false 합니다. 공급자는 이해하는 주석에 대해 재정의해야 합니다.

자세한 내용 과 예제는 데이터베이스 공급자 및 확장 구현 을 참조하세요.

생성자

AnnotationCodeGenerator(AnnotationCodeGeneratorDependencies)

이 클래스의 새 인스턴스를 초기화합니다.

속성

Dependencies

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

메서드

FilterIgnoredAnnotations(IEnumerable<IAnnotation>)

annotations 코드를 생성해서는 안 되는 주석을 필터링합니다.

GenerateDataAnnotation(IEntityType, IAnnotation)

지정된 annotation에 대한 데이터 주석 특성 코드 조각을 반환하거나 null 데이터 주석이 없는 경우 를 반환합니다.

GenerateDataAnnotation(IProperty, IAnnotation)

지정된 annotation에 대한 데이터 주석 특성 코드 조각을 반환하거나 null 데이터 주석이 없는 경우 를 반환합니다.

GenerateDataAnnotationAttributes(IAnnotatable, IDictionary<String,IAnnotation>)

해당 데이터 주석 특성이 있는 지정된 주석의 경우 해당 특성 코드 조각을 반환하고 주석을 제거합니다.

GenerateDataAnnotationAttributes(IEntityType, IDictionary<String,IAnnotation>)

해당 데이터 주석 특성이 있는 지정된 주석의 경우 해당 특성 코드 조각을 반환하고 주석을 제거합니다.

GenerateDataAnnotationAttributes(IProperty, IDictionary<String,IAnnotation>)

해당 데이터 주석 특성이 있는 지정된 주석의 경우 해당 특성 코드 조각을 반환하고 주석을 제거합니다.

GenerateFluentApi(ICheckConstraint, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IComplexProperty, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IComplexType, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IEntityType, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IEntityType, IAnnotation, String)
사용되지 않습니다..

다른 작업을 수행하도록 재정의되지 않는 한 를 반환 null 합니다.

GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IForeignKey, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IForeignKey, IAnnotation, String)
사용되지 않습니다..

다른 작업을 수행하도록 재정의되지 않는 한 를 반환 null 합니다.

GenerateFluentApi(IIndex, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IIndex, IAnnotation, String)
사용되지 않습니다..

다른 작업을 수행하도록 재정의되지 않는 한 를 반환 null 합니다.

GenerateFluentApi(IKey, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IKey, IAnnotation, String)
사용되지 않습니다..

다른 작업을 수행하도록 재정의되지 않는 한 를 반환 null 합니다.

GenerateFluentApi(IModel, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IModel, IAnnotation, String)
사용되지 않습니다..

다른 작업을 수행하도록 재정의되지 않는 한 를 반환 null 합니다.

GenerateFluentApi(INavigation, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IProperty, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(IProperty, IAnnotation, String)
사용되지 않습니다..

다른 작업을 수행하도록 재정의되지 않는 한 를 반환 null 합니다.

GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(ISequence, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(ISkipNavigation, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApi(ITrigger, IAnnotation)

지정된 annotation에 대한 흐름 API 호출을 반환하거나 null 흐름 API 호출이 없는 경우 반환합니다.

GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>)

해당 흐름 API 호출이 있는 지정된 주석의 경우 는 해당 흐름 API 호출을 반환하고 주석을 제거합니다.

IsHandledByConvention(ICheckConstraint, IAnnotation)

지정된 checkConstraint에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IComplexProperty, IAnnotation)

지정된 complexProperty에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IComplexType, IAnnotation)

지정된 complexType에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IEntityType, IAnnotation)

지정된 entityType에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

지정된 fragment에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IForeignKey, IAnnotation)

지정된 foreignKey에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IIndex, IAnnotation)

지정된 index에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IKey, IAnnotation)

지정된 key에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IModel, IAnnotation)

지정된 model에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(INavigation, IAnnotation)

지정된 navigation에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IProperty, IAnnotation)

지정된 property에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

지정된 overrides에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(ISequence, IAnnotation)

지정된 sequence에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(ISkipNavigation, IAnnotation)

지정된 navigation에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

IsHandledByConvention(ITrigger, IAnnotation)

지정된 trigger에 적용할 때 지정된 annotation 가 규칙에 의해 처리되는지 확인합니다.

RemoveAnnotationsHandledByConventions(IAnnotatable, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(ICheckConstraint, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IComplexProperty, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IComplexType, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IEntityType, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IForeignKey, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IIndex, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IKey, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IModel, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(INavigation, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IProperty, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(ISequence, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(ISkipNavigation, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

RemoveAnnotationsHandledByConventions(ITrigger, IDictionary<String,IAnnotation>)

규칙에 따라 구성이 이미 적용된 주석을 제거하고 명시적으로 지정할 필요가 없습니다.

적용 대상