SqlitePropertyBuilderExtensions.ForSqliteHasSrid Méthode

Définition

Surcharges

ForSqliteHasSrid(PropertyBuilder, Int32)
Obsolète.

Configure le SRID de la colonne à laquelle la propriété est mappée lors du ciblage de SQLite.

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)
Obsolète.

Configure le SRID de la colonne à laquelle la propriété est mappée lors du ciblage de SQLite.

ForSqliteHasSrid<TProperty>(PropertyBuilder<TProperty>, Int32)
Obsolète.

Configure le SRID de la colonne à laquelle la propriété est mappée lors du ciblage de SQLite.

ForSqliteHasSrid(PropertyBuilder, Int32)

Attention

Use HasSrid

Configure le SRID de la colonne à laquelle la propriété est mappée lors du ciblage de 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

Paramètres

propertyBuilder
PropertyBuilder

Générateur de la propriété en cours de configuration.

srid
Int32

The SRID.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Attributs

S’applique à

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Attention

Use HasSrid

Configure le SRID de la colonne à laquelle la propriété est mappée lors du ciblage de 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

Paramètres

propertyBuilder
IConventionPropertyBuilder

Générateur de la propriété en cours de configuration.

srid
Nullable<Int32>

The SRID.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Le même générateur instance si la configuration a été appliquée, null sinon.

Attributs

S’applique à

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

Attention

Use HasSrid

Configure le SRID de la colonne à laquelle la propriété est mappée lors du ciblage de 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)

Paramètres de type

TProperty

Paramètres

propertyBuilder
PropertyBuilder<TProperty>

Générateur de la propriété en cours de configuration.

srid
Int32

The SRID.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Attributs

S’applique à