Aracılığıyla paylaş


RelationalEntityTypeExtensions.SetComment Yöntem

Tanım

Aşırı Yüklemeler

SetComment(IMutableEntityType, String)

Bu varlığın eşlendiği tabloya uygulanacak bir açıklama yapılandırılır.

SetComment(IConventionEntityType, String, Boolean)

Bu varlığın eşlendiği tabloya uygulanacak bir açıklama yapılandırılır.

SetComment(IMutableEntityType, String)

Bu varlığın eşlendiği tabloya uygulanacak bir açıklama yapılandırılır.

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şlendiği tablonun açıklaması.

Şunlara uygulanır

SetComment(IConventionEntityType, String, Boolean)

Bu varlığın eşlendiği tabloya uygulanacak bir açıklama yapılandırılır.

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 bir veri ek açıklaması kullanılarak belirtilip belirtilmediğinden emin olun.

Döndürülenler

Yapılandırılan açıklama.

Şunlara uygulanır