Share via


SqlitePropertyBuilderExtensions.ForSqliteHasSrid Method

Definition

Overloads

ForSqliteHasSrid(PropertyBuilder, Int32)
Obsolete.

Configures the SRID of the column that the property maps to when targeting SQLite.

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)
Obsolete.

Configures the SRID of the column that the property maps to when targeting SQLite.

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)
Obsolete.

Configures the SRID of the column that the property maps to when targeting SQLite.

ForSqliteHasSrid(PropertyBuilder, Int32)

Caution

Use HasSrid

Configures the SRID of the column that the property maps to when targeting SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, int srid);
[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, int srid);
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqliteHasSrid (propertyBuilder As PropertyBuilder, srid As Integer) As PropertyBuilder

Parameters

propertyBuilder
PropertyBuilder

The builder for the property being configured.

srid
Int32

The SRID.

Returns

The same builder instance so that multiple calls can be chained.

Attributes

Applies to

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Caution

Use HasSrid

Configures the SRID of the column that the property maps to when targeting SQLite.

[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder ForSqliteHasSrid (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? srid, bool fromDataAnnotation = false);
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function ForSqliteHasSrid (propertyBuilder As IConventionPropertyBuilder, srid As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

Parameters

propertyBuilder
IConventionPropertyBuilder

The builder for the property being configured.

srid
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The same builder instance if the configuration was applied, null otherwise.

Attributes

Applies to

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)

Caution

Use HasSrid

Configures the SRID of the column that the property maps to when targeting SQLite.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, int srid);
[System.Obsolete("Use HasSrid")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasSrid<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, int srid);
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
[<System.Obsolete("Use HasSrid")>]
static member ForSqliteHasSrid : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function ForSqliteHasSrid(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), srid As Integer) As PropertyBuilder(Of TProperty)

Type Parameters

TProperty

Parameters

propertyBuilder
PropertyBuilder<TProperty>

The builder for the property being configured.

srid
Int32

The SRID.

Returns

The same builder instance so that multiple calls can be chained.

Attributes

Applies to