SqlitePropertyExtensions.SetSrid Méthode

Définition

Surcharges

SetSrid(IMutableProperty, Nullable<Int32>)

Définit le SRID à utiliser lors de la création d’une colonne pour cette propriété.

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Définit le SRID à utiliser lors de la création d’une colonne pour cette propriété.

SetSrid(IMutableProperty, Nullable<Int32>)

Définit le SRID à utiliser lors de la création d’une colonne pour cette propriété.

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))

Paramètres

property
IMutableProperty

Propriété.

value
Nullable<Int32>

The SRID.

S’applique à

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Définit le SRID à utiliser lors de la création d’une colonne pour cette propriété.

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)

Paramètres

property
IConventionProperty

Propriété.

value
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

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

Retours

S’applique à