SqlitePropertyExtensions.SetSrid 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
属性。
适用于
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
属性。
- fromDataAnnotation
- Boolean
指示配置是否是使用数据注释指定的。