Bagikan melalui


SqlitePropertyBuilderExtensions.ForSqliteHasSrid Metode

Definisi

Overload

ForSqliteHasSrid(PropertyBuilder, Int32)
Kedaluwarsa.

Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)
Kedaluwarsa.

Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)
Kedaluwarsa.

Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.

ForSqliteHasSrid(PropertyBuilder, Int32)

Perhatian

Use HasSrid

Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, int srid);
[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, int srid);
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqliteHasSrid (propertyBuilder As PropertyBuilder, srid As Integer) As PropertyBuilder

Parameter

propertyBuilder
PropertyBuilder

Penyusun untuk properti yang sedang dikonfigurasi.

srid
Int32

The SRID.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Atribut

Berlaku untuk

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Perhatian

Use HasSrid

Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.

[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? srid, bool fromDataAnnotation = false);
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function ForSqliteHasSrid (propertyBuilder As IConventionPropertyBuilder, srid As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

Parameter

propertyBuilder
IConventionPropertyBuilder

Penyusun untuk properti yang sedang dikonfigurasi.

srid
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Instans penyusun yang sama jika konfigurasi diterapkan, null jika tidak.

Atribut

Berlaku untuk

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)

Perhatian

Use HasSrid

Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, int srid);
[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, int srid);
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function ForSqliteHasSrid(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), srid As Integer) As PropertyBuilder(Of TProperty)

Jenis parameter

TProperty

Parameter

propertyBuilder
PropertyBuilder<TProperty>

Penyusun untuk properti yang sedang dikonfigurasi.

srid
Int32

The SRID.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Atribut

Berlaku untuk