RelationalPropertyExtensions.SetComment Yöntem

Tanım

Aşırı Yüklemeler

SetComment(IConventionProperty, String, Boolean)

Bu özelliğin eşlenmiş olduğu sütuna uygulanacak bir açıklama yapılandırıyor.

SetComment(IMutableProperty, String)

Bu özelliğin eşlenmiş olduğu sütuna uygulanacak bir açıklama yapılandırıyor.

SetComment(IConventionProperty, String, Boolean)

Bu özelliğin eşlenmiş olduğu sütuna uygulanacak bir açıklama yapılandırıyor.

public static void SetComment (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string comment, bool fromDataAnnotation = false);
public static string SetComment (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string comment, bool fromDataAnnotation = false);
public static string? SetComment (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? comment, bool fromDataAnnotation = false);
static member SetComment : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
static member SetComment : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Sub SetComment (property As IConventionProperty, comment As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetComment (property As IConventionProperty, comment As String, Optional fromDataAnnotation As Boolean = false) As String

Parametreler

property
IConventionProperty

Özellik.

comment
String

Sütunun açıklaması.

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

String

Yapılandırılan değer.

Şunlara uygulanır

SetComment(IMutableProperty, String)

Bu özelliğin eşlenmiş olduğu sütuna uygulanacak bir açıklama yapılandırıyor.

public static void SetComment (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string comment);
public static void SetComment (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? comment);
static member SetComment : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetComment (property As IMutableProperty, comment As String)

Parametreler

property
IMutableProperty

Özellik.

comment
String

Sütunun açıklaması.

Şunlara uygulanır