Condividi tramite


RelationalPropertyExtensions.SetComment Metodo

Definizione

Overload

SetComment(IConventionProperty, String, Boolean)

Configura un commento da applicare alla colonna a cui viene eseguito il mapping di questa proprietà.

SetComment(IMutableProperty, String)

Configura un commento da applicare alla colonna a cui viene eseguito il mapping di questa proprietà.

SetComment(IConventionProperty, String, Boolean)

Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs

Configura un commento da applicare alla colonna a cui viene eseguito il mapping di questa proprietà.

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

Parametri

property
IConventionProperty

Proprietà.

comment
String

Commento per la colonna.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a

SetComment(IMutableProperty, String)

Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs
Origine:
RelationalPropertyExtensions.cs

Configura un commento da applicare alla colonna a cui viene eseguito il mapping di questa proprietà.

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)

Parametri

property
IMutableProperty

Proprietà.

comment
String

Commento per la colonna.

Si applica a