RelationalEntityTypeExtensions.SetComment Yöntem

Tanım

Aşırı Yüklemeler

SetComment(IMutableEntityType, String)

Bu varlığın eşlenmiş olduğu tabloya uygulanacak bir açıklama yapılandırıyor.

SetComment(IConventionEntityType, String, Boolean)

Bu varlığın eşlenmiş olduğu tabloya uygulanacak bir açıklama yapılandırıyor.

SetComment(IMutableEntityType, String)

Bu varlığın eşlenmiş olduğu tabloya uygulanacak bir açıklama yapılandırıyor.

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

Parametreler

entityType
IMutableEntityType

Varlık türü.

comment
String

Bu varlığın eşlenmiş olduğu tablonun açıklaması.

Şunlara uygulanır

SetComment(IConventionEntityType, String, Boolean)

Bu varlığın eşlenmiş olduğu tabloya uygulanacak bir açıklama yapılandırıyor.

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

Parametreler

entityType
IConventionEntityType

Varlık türü.

comment
String

Tablonun 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 açıklama.

Şunlara uygulanır