Jazyk

RelationalPropertyExtensions.SetComment Metoda

Definice

Přetížení

Název Description
SetComment(IMutableProperty, String)

Nakonfiguruje komentář, na který se má použít sloupec, na který se tato vlastnost mapuje.

SetComment(IConventionProperty, String, Boolean)

Nakonfiguruje komentář, na který se má použít sloupec, na který se tato vlastnost mapuje.

SetComment(IMutableProperty, String)

Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs

Nakonfiguruje komentář, na který se má použít sloupec, na který se tato vlastnost mapuje.

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)

Parametry

property
IMutableProperty

Vlastnost.

comment
String

Komentář pro sloupec.

Platí pro

SetComment(IConventionProperty, String, Boolean)

Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs
Zdroj:
RelationalPropertyExtensions.cs

Nakonfiguruje komentář, na který se má použít sloupec, na který se tato vlastnost mapuje.

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)

Parametry

property
IConventionProperty

Vlastnost.

comment
String

Komentář pro sloupec.

fromDataAnnotation
Boolean

Určuje, jestli byla konfigurace zadána pomocí datové poznámky.

Návraty

Nakonfigurovaná hodnota.

Platí pro