Share via


SqlitePropertyExtensions.SetSrid Methode

Definition

Überlädt

SetSrid(IMutableProperty, Nullable<Int32>)

Legt die SRID fest, die beim Erstellen einer Spalte für diese Eigenschaft verwendet werden soll.

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Legt die SRID fest, die beim Erstellen einer Spalte für diese Eigenschaft verwendet werden soll.

SetSrid(IMutableProperty, Nullable<Int32>)

Legt die SRID fest, die beim Erstellen einer Spalte für diese Eigenschaft verwendet werden soll.

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

Parameter

property
IMutableProperty

Die Eigenschaft.

value
Nullable<Int32>

Die SRID.

Gilt für:

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Legt die SRID fest, die beim Erstellen einer Spalte für diese Eigenschaft verwendet werden soll.

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)

Parameter

property
IConventionProperty

Die Eigenschaft.

value
Nullable<Int32>

Die SRID.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Gilt für: