다음을 통해 공유


RelationalComplexTypePropertyBuilderExtensions.HasComment 메서드

정의

오버로드

HasComment(ComplexTypePropertyBuilder, String)

열에 적용할 주석을 구성합니다.

HasComment<TProperty>(ComplexTypePropertyBuilder<TProperty>, String)

열에 적용할 주석을 구성합니다.

HasComment(ComplexTypePropertyBuilder, String)

열에 적용할 주석을 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder HasComment (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder propertyBuilder, string? comment);
static member HasComment : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder
<Extension()>
Public Function HasComment (propertyBuilder As ComplexTypePropertyBuilder, comment As String) As ComplexTypePropertyBuilder

매개 변수

propertyBuilder
ComplexTypePropertyBuilder

구성 중인 속성에 대한 작성기입니다.

comment
String

열에 대한 주석입니다.

반환

동일한 작성기가 여러 호출을 연결할 수 있도록 instance.

설명

자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.

적용 대상

HasComment<TProperty>(ComplexTypePropertyBuilder<TProperty>, String)

열에 적용할 주석을 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> HasComment<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> propertyBuilder, string? comment);
static member HasComment : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
<Extension()>
Public Function HasComment(Of TProperty) (propertyBuilder As ComplexTypePropertyBuilder(Of TProperty), comment As String) As ComplexTypePropertyBuilder(Of TProperty)

형식 매개 변수

TProperty

구성되는 속성의 형식입니다.

매개 변수

propertyBuilder
ComplexTypePropertyBuilder<TProperty>

구성 중인 속성에 대한 작성기입니다.

comment
String

열에 대한 주석입니다.

반환

동일한 작성기가 여러 호출을 연결할 수 있도록 instance.

설명

자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.

적용 대상