語言

SqlitePropertyExtensions.SetSrid 方法

定義

多載

名稱 Description
SetSrid(IMutableProperty, Nullable<Int32>)

在建立此屬性欄位時,會設定 SRID 來使用。

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

在建立此屬性欄位時,會設定 SRID 來使用。

SetSrid(IMutableProperty, Nullable<Int32>)

來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs

在建立此屬性欄位時,會設定 SRID 來使用。

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))

參數

property
IMutableProperty

屬性。

value
Nullable<Int32>

SRID。

適用於

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs
來源:
SqlitePropertyExtensions.cs

在建立此屬性欄位時,會設定 SRID 來使用。

public static int? SetSrid(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? value, bool fromDataAnnotation = false);
public static void SetSrid(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? value, bool fromDataAnnotation = false);
static member SetSrid : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
static member SetSrid : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> unit
<Extension()>
Public Function SetSrid (property As IConventionProperty, value As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
<Extension()>
Public Sub SetSrid (property As IConventionProperty, value As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)

參數

property
IConventionProperty

屬性。

value
Nullable<Int32>

SRID。

fromDataAnnotation
Boolean

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

傳回

適用於