Compartir a través de


SqlitePropertyExtensions.SetSrid Método

Definición

Sobrecargas

SetSrid(IMutableProperty, Nullable<Int32>)

Establece el SRID que se va a usar al crear una columna para esta propiedad.

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Establece el SRID que se va a usar al crear una columna para esta propiedad.

SetSrid(IMutableProperty, Nullable<Int32>)

Establece el SRID que se va a usar al crear una columna para esta propiedad.

public static void SetSrid (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? value);
static member SetSrid : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetSrid (property As IMutableProperty, value As Nullable(Of Integer))

Parámetros

property
IMutableProperty

Propiedad.

value
Nullable<Int32>

El SRID.

Se aplica a

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Establece el SRID que se va a usar al crear una columna para esta propiedad.

public static void SetSrid (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? value, bool fromDataAnnotation = false);
public static int? SetSrid (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? value, bool fromDataAnnotation = false);
static member SetSrid : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> unit
static member SetSrid : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetSrid (property As IConventionProperty, value As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetSrid (property As IConventionProperty, value As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

Parámetros

property
IConventionProperty

Propiedad.

value
Nullable<Int32>

El SRID.

fromDataAnnotation
Boolean

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

Devoluciones

Se aplica a