Bagikan melalui


SqlitePropertyExtensions.SetSrid Metode

Definisi

Overload

SetSrid(IMutableProperty, Nullable<Int32>)

Mengatur SRID yang akan digunakan saat membuat kolom untuk properti ini.

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Mengatur SRID yang akan digunakan saat membuat kolom untuk properti ini.

SetSrid(IMutableProperty, Nullable<Int32>)

Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs

Mengatur SRID yang akan digunakan saat membuat kolom untuk properti ini.

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

Properti .

value
Nullable<Int32>

The SRID.

Berlaku untuk

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs
Sumber:
SqlitePropertyExtensions.cs

Mengatur SRID yang akan digunakan saat membuat kolom untuk properti ini.

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

Properti .

value
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Berlaku untuk