SqliteComplexTypePropertyBuilderExtensions.HasSrid Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
HasSrid(ComplexTypePropertyBuilder, Int32) |
Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite. |
HasSrid<TProperty>(ComplexTypePropertyBuilder<TProperty>, Int32) |
Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite. |
HasSrid(ComplexTypePropertyBuilder, Int32)
Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder HasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder propertyBuilder, int srid);
static member HasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder
<Extension()>
Public Function HasSrid (propertyBuilder As ComplexTypePropertyBuilder, srid As Integer) As ComplexTypePropertyBuilder
Parameter
- propertyBuilder
- ComplexTypePropertyBuilder
Penyusun untuk properti yang sedang dikonfigurasi.
- srid
- Int32
The SRID.
Mengembalikan
Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.
Keterangan
Lihat Data spasial, dan Mengakses database SQLite dengan EF Core untuk informasi dan contoh selengkapnya.
Berlaku untuk
HasSrid<TProperty>(ComplexTypePropertyBuilder<TProperty>, Int32)
Mengonfigurasi SRID kolom yang dipetakan properti saat menargetkan SQLite.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> HasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> propertyBuilder, int srid);
static member HasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
<Extension()>
Public Function HasSrid(Of TProperty) (propertyBuilder As ComplexTypePropertyBuilder(Of TProperty), srid As Integer) As ComplexTypePropertyBuilder(Of TProperty)
Jenis parameter
- TProperty
Parameter
- propertyBuilder
- ComplexTypePropertyBuilder<TProperty>
Penyusun untuk properti yang sedang dikonfigurasi.
- srid
- Int32
The SRID.
Mengembalikan
Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.
Keterangan
Lihat Data spasial, dan Mengakses database SQLite dengan EF Core untuk informasi dan contoh selengkapnya.
Berlaku untuk
Entity Framework