Share via


CosmosPropertyExtensions.SetPropertyName Metodo

Definizione

Overload

SetPropertyName(IMutableProperty, String)

Imposta il nome della proprietà usato quando la destinazione è Cosmos.

SetPropertyName(IConventionProperty, String, Boolean)

Imposta il nome della proprietà usato quando la destinazione è Cosmos.

SetPropertyName(IMutableProperty, String)

Imposta il nome della proprietà usato quando la destinazione è Cosmos.

public static void SetPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string name);
static member SetPropertyName : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetPropertyName (property As IMutableProperty, name As String)

Parametri

property
IMutableProperty

Proprietà.

name
String

Nome da impostare.

Si applica a

SetPropertyName(IConventionProperty, String, Boolean)

Imposta il nome della proprietà usato quando la destinazione è Cosmos.

public static void SetPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string name, bool fromDataAnnotation = false);
static member SetPropertyName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
<Extension()>
Public Sub SetPropertyName (property As IConventionProperty, name As String, Optional fromDataAnnotation As Boolean = false)

Parametri

property
IConventionProperty

Proprietà.

name
String

Nome da impostare.

fromDataAnnotation
Boolean

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

Si applica a