Lenguaje

CosmosPropertyExtensions.SetPropertyName Método

Definición

Sobrecargas

Nombre Description
SetPropertyName(IMutableProperty, String)

Establece el nombre de propiedad que se usa al establecer como destino Cosmos.

SetPropertyName(IConventionProperty, String, Boolean)

Establece el nombre de propiedad que se usa al establecer como destino Cosmos.

SetPropertyName(IMutableProperty, String)

Source:
CosmosPropertyExtensions.cs
Source:
CosmosPropertyExtensions.cs

Establece el nombre de propiedad que se usa al establecer como destino 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)

Parámetros

property
IMutableProperty

La propiedad.

name
String

Nombre que se va a establecer.

Se aplica a

SetPropertyName(IConventionProperty, String, Boolean)

Source:
CosmosPropertyExtensions.cs
Source:
CosmosPropertyExtensions.cs

Establece el nombre de propiedad que se usa al establecer como destino 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)

Parámetros

property
IConventionProperty

La propiedad.

name
String

Nombre que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Se aplica a