SqlitePropertyBuilderExtensions.HasSrid Yöntem

Tanım

Aşırı Yüklemeler

HasSrid(PropertyBuilder, Int32)

Özelliğin SQLite'ı hedeflerken eşleyiştir olduğu sütunun SRID'lerini yapılandırır.

HasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Özelliğin SQLite'ı hedeflerken eşleyiştir olduğu sütunun SRID'lerini yapılandırır.

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

Özelliğin SQLite'ı hedeflerken eşleyiştir olduğu sütunun SRID'lerini yapılandırır.

HasSrid(PropertyBuilder, Int32)

Özelliğin SQLite'ı hedeflerken eşleyiştir olduğu sütunun SRID'lerini yapılandırır.

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

Parametreler

propertyBuilder
PropertyBuilder

Yapılandırılan özelliğin oluşturucusu.

srid
Int32

The SRID.

Döndürülenler

PropertyBuilder

Birden çok çağrının zincirlene kadar aynı oluşturucu örneği.

Açıklamalar

Daha fazla bilgi için bkz. Uzamsal veriler ve EF Core SQLite veritabanlarına erişme.

Şunlara uygulanır

HasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Özelliğin SQLite'ı hedeflerken eşleyiştir olduğu sütunun SRID'lerini yapılandırır.

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

Parametreler

propertyBuilder
IConventionPropertyBuilder

Yapılandırılan özelliğin oluşturucusu.

srid
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

IConventionPropertyBuilder

Yapılandırma uygulanmışsa aynı oluşturucu örneği, aksi null takdirde.

Açıklamalar

Daha fazla bilgi için bkz. Uzamsal veriler ve EF Core SQLite veritabanlarına erişme.

Şunlara uygulanır

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

Özelliğin SQLite'ı hedeflerken eşleyiştir olduğu sütunun SRID'lerini yapılandırır.

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

Tür Parametreleri

TProperty

Parametreler

propertyBuilder
PropertyBuilder<TProperty>

Yapılandırılan özelliğin oluşturucusu.

srid
Int32

The SRID.

Döndürülenler

PropertyBuilder<TProperty>

Birden çok çağrının zincirlene kadar aynı oluşturucu örneği.

Açıklamalar

Daha fazla bilgi için bkz. Uzamsal veriler ve EF Core SQLite veritabanlarına erişme.

Şunlara uygulanır