Aracılığıyla paylaş


RelationalComplexTypePropertyBuilderExtensions.HasComment Yöntem

Tanım

Aşırı Yüklemeler

HasComment(ComplexTypePropertyBuilder, String)

Sütuna uygulanacak açıklamayı yapılandırıyor

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

Sütuna uygulanacak açıklamayı yapılandırıyor

HasComment(ComplexTypePropertyBuilder, String)

Sütuna uygulanacak açıklamayı yapılandırıyor

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

Parametreler

propertyBuilder
ComplexTypePropertyBuilder

Yapılandırılan özelliğin oluşturucusu.

comment
String

Sütunun açıklaması.

Döndürülenler

Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme .

Şunlara uygulanır

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

Sütuna uygulanacak açıklamayı yapılandırıyor

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)

Tür Parametreleri

TProperty

Yapılandırılan özelliğin türü.

Parametreler

propertyBuilder
ComplexTypePropertyBuilder<TProperty>

Yapılandırılan özelliğin oluşturucusu.

comment
String

Sütunun açıklaması.

Döndürülenler

Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme .

Şunlara uygulanır