Udostępnij za pośrednictwem


SqlitePropertyExtensions.SetSrid Metoda

Definicja

Przeciążenia

SetSrid(IMutableProperty, Nullable<Int32>)

Ustawia identyfikator SRID do użycia podczas tworzenia kolumny dla tej właściwości.

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Ustawia identyfikator SRID do użycia podczas tworzenia kolumny dla tej właściwości.

SetSrid(IMutableProperty, Nullable<Int32>)

Ustawia identyfikator SRID do użycia podczas tworzenia kolumny dla tej właściwości.

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

Parametry

property
IMutableProperty

Właściwość.

value
Nullable<Int32>

The SRID.

Dotyczy

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Ustawia identyfikator SRID do użycia podczas tworzenia kolumny dla tej właściwości.

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)

Parametry

property
IConventionProperty

Właściwość.

value
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Dotyczy