Bahasa

RelationalPropertyExtensions.SetComment Metode

Definisi

Overload

Nama Deskripsi
SetComment(IMutableProperty, String)

Mengonfigurasi komentar yang akan diterapkan ke kolom tempat properti ini dipetakan.

SetComment(IConventionProperty, String, Boolean)

Mengonfigurasi komentar yang akan diterapkan ke kolom tempat properti ini dipetakan.

SetComment(IMutableProperty, String)

Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs

Mengonfigurasi komentar yang akan diterapkan ke kolom tempat properti ini dipetakan.

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)

Parameter

property
IMutableProperty

Properti tersebut.

comment
String

Komentar untuk kolom.

Berlaku untuk

SetComment(IConventionProperty, String, Boolean)

Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs
Sumber:
RelationalPropertyExtensions.cs

Mengonfigurasi komentar yang akan diterapkan ke kolom tempat properti ini dipetakan.

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

Parameter

property
IConventionProperty

Properti tersebut.

comment
String

Komentar untuk kolom.

fromDataAnnotation
Boolean

Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Nilai yang dikonfigurasi.

Berlaku untuk