CosmosPropertyExtensions.SetPropertyName Méthode

Définition

Surcharges

SetPropertyName(IMutableProperty, String)

Définit le nom de propriété utilisé lors du ciblage de Cosmos.

SetPropertyName(IConventionProperty, String, Boolean)

Définit le nom de propriété utilisé lors du ciblage de Cosmos.

SetPropertyName(IMutableProperty, String)

Définit le nom de propriété utilisé lors du ciblage de 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)

Paramètres

property
IMutableProperty

Propriété.

name
String

Nom à définir.

S’applique à

SetPropertyName(IConventionProperty, String, Boolean)

Définit le nom de propriété utilisé lors du ciblage de 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)

Paramètres

property
IConventionProperty

Propriété.

name
String

Nom à définir.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

S’applique à