Sprache

RelationalPropertyExtensions.SetComment Methode

Definition

Überlädt

Name Beschreibung
SetComment(IMutableProperty, String)

Konfiguriert einen Kommentar, der auf die Spalte angewendet werden soll, der diese Eigenschaft zugeordnet ist.

SetComment(IConventionProperty, String, Boolean)

Konfiguriert einen Kommentar, der auf die Spalte angewendet werden soll, der diese Eigenschaft zugeordnet ist.

SetComment(IMutableProperty, String)

Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs

Konfiguriert einen Kommentar, der auf die Spalte angewendet werden soll, der diese Eigenschaft zugeordnet ist.

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

Die Eigenschaft.

comment
String

Der Kommentar für die Spalte.

Gilt für:

SetComment(IConventionProperty, String, Boolean)

Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs

Konfiguriert einen Kommentar, der auf die Spalte angewendet werden soll, der diese Eigenschaft zugeordnet ist.

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

Die Eigenschaft.

comment
String

Der Kommentar für die Spalte.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Der konfigurierte Wert.

Gilt für: