언어

AnnotationCodeGenerator.GenerateDataAnnotation 메서드

정의

오버로드

속성 Description
GenerateDataAnnotation(IEntityType, IAnnotation)

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

GenerateDataAnnotation(IProperty, IAnnotation)

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

GenerateDataAnnotation(IEntityType, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

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

protected virtual Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment? GenerateDataAnnotation(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment GenerateDataAnnotation(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateDataAnnotation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment
override this.GenerateDataAnnotation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment
Protected Overridable Function GenerateDataAnnotation (entityType As IEntityType, annotation As IAnnotation) As AttributeCodeFragment

매개 변수

entityType
IEntityType

IEntityType.

annotation
IAnnotation

IAnnotation.

반품

null;

설명

기본 구현에서는 항상 null을 반환합니다.

적용 대상

GenerateDataAnnotation(IProperty, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

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

protected virtual Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment? GenerateDataAnnotation(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment GenerateDataAnnotation(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateDataAnnotation : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment
override this.GenerateDataAnnotation : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment
Protected Overridable Function GenerateDataAnnotation (property As IProperty, annotation As IAnnotation) As AttributeCodeFragment

매개 변수

property
IProperty

IProperty.

annotation
IAnnotation

IAnnotation.

반품

null;

설명

기본 구현에서는 항상 null을 반환합니다.

적용 대상