Share via


SqlitePropertyExtensions.SetSrid Method

Definition

Overloads

SetSrid(IMutableProperty, Nullable<Int32>)

Sets the SRID to use when creating a column for this property.

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Sets the SRID to use when creating a column for this property.

SetSrid(IMutableProperty, Nullable<Int32>)

Sets the SRID to use when creating a column for this property.

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

Parameters

property
IMutableProperty

The property.

value
Nullable<Int32>

The SRID.

Applies to

SetSrid(IConventionProperty, Nullable<Int32>, Boolean)

Sets the SRID to use when creating a column for this property.

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)

Parameters

property
IConventionProperty

The property.

value
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

Applies to