語言

SqlitePropertyBuilderExtensions.ForSqliteHasSrid 方法

定義

多載

名稱 Description
ForSqliteHasSrid(PropertyBuilder, Int32)
已淘汰.

設定屬性映射到的欄位 SRID,當針對 SQLite 時。

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)
已淘汰.

設定屬性映射到的欄位 SRID,當針對 SQLite 時。

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)
已淘汰.

設定屬性映射到的欄位 SRID,當針對 SQLite 時。

ForSqliteHasSrid(PropertyBuilder, Int32)

來源:
SqlitePropertyBuilderExtensions.cs
來源:
SqlitePropertyBuilderExtensions.cs
來源:
SqlitePropertyBuilderExtensions.cs

警告

Use HasSrid

設定屬性映射到的欄位 SRID,當針對 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

參數

propertyBuilder
PropertyBuilder

正在配置的物業的建商。

srid
Int32

SRID。

傳回

同一個建構實例,這樣可以串接多個呼叫。

屬性

適用於

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

來源:
SqlitePropertyBuilderExtensions.cs
來源:
SqlitePropertyBuilderExtensions.cs

警告

Use HasSrid

設定屬性映射到的欄位 SRID,當針對 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

參數

propertyBuilder
IConventionPropertyBuilder

正在配置的物業的建商。

srid
Nullable<Int32>

SRID。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

如果設定是套用,則使用同一個建構者實例, null 否則。

屬性

適用於

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

來源:
SqlitePropertyBuilderExtensions.cs
來源:
SqlitePropertyBuilderExtensions.cs
來源:
SqlitePropertyBuilderExtensions.cs

警告

Use HasSrid

設定屬性映射到的欄位 SRID,當針對 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)

類型參數

TProperty

參數

propertyBuilder
PropertyBuilder<TProperty>

正在配置的物業的建商。

srid
Int32

SRID。

傳回

同一個建構實例,這樣可以串接多個呼叫。

屬性

適用於