SqlitePropertyExtensions.SetSrid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework