SqlitePropertyExtensions.SetSrid 方法

定义

重载

SetSrid(IMutableProperty, Nullable<Int32>)

设置为此属性创建列时要使用的 SRID。

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

设置为此属性创建列时要使用的 SRID。

SetSrid(IMutableProperty, Nullable<Int32>)

Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
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)

Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs
Source:
SqlitePropertyExtensions.cs

设置为此属性创建列时要使用的 SRID。

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

参数

property
IConventionProperty

属性。

value
Nullable<Int32>

SRID。

fromDataAnnotation
Boolean

指示配置是否是使用数据注释指定的。

返回

适用于