Compartir a través de


SqlitePropertyBuilderExtensions.ForSqliteHasSrid Método

Definición

Sobrecargas

ForSqliteHasSrid(PropertyBuilder, Int32)
Obsoletos.

Configura el SRID de la columna a la que se asigna la propiedad al dirigirse a SQLite.

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

Configura el SRID de la columna a la que se asigna la propiedad al dirigirse a SQLite.

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

Configura el SRID de la columna a la que se asigna la propiedad al dirigirse a SQLite.

ForSqliteHasSrid(PropertyBuilder, Int32)

Source:
SqlitePropertyBuilderExtensions.cs
Source:
SqlitePropertyBuilderExtensions.cs
Source:
SqlitePropertyBuilderExtensions.cs

Precaución

Use HasSrid

Configura el SRID de la columna a la que se asigna la propiedad al dirigirse a 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

Parámetros

propertyBuilder
PropertyBuilder

Generador de la propiedad que se va a configurar.

srid
Int32

El SRID.

Devoluciones

La misma instancia del generador para que se puedan encadenar varias llamadas.

Atributos

Se aplica a

ForSqliteHasSrid(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Source:
SqlitePropertyBuilderExtensions.cs
Source:
SqlitePropertyBuilderExtensions.cs

Precaución

Use HasSrid

Configura el SRID de la columna a la que se asigna la propiedad al dirigirse a 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

Parámetros

propertyBuilder
IConventionPropertyBuilder

Generador de la propiedad que se va a configurar.

srid
Nullable<Int32>

El SRID.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

La misma instancia del generador si se aplicó la configuración; de lo contrario, null .

Atributos

Se aplica a

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

Source:
SqlitePropertyBuilderExtensions.cs
Source:
SqlitePropertyBuilderExtensions.cs
Source:
SqlitePropertyBuilderExtensions.cs

Precaución

Use HasSrid

Configura el SRID de la columna a la que se asigna la propiedad al dirigirse a 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)

Parámetros de tipo

TProperty

Parámetros

propertyBuilder
PropertyBuilder<TProperty>

Generador de la propiedad que se va a configurar.

srid
Int32

El SRID.

Devoluciones

La misma instancia del generador para que se puedan encadenar varias llamadas.

Atributos

Se aplica a